.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000000; /* Ensure this matches shared.css body background */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* To clear fixed header */
  margin-top: 0;
  background: linear-gradient(135deg, #222222, #000000); /* Darker gradient for hero background */
  overflow: hidden;
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-cockfighting__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: #f8f8f8;
  margin-bottom: 30px;
}

.page-cockfighting__hero-btn {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000000; /* Dark text for gold button */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__hero-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-cockfighting__section {
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__section:nth-of-type(even) {
  background-color: #1a1a1a;
}

.page-cockfighting__section:nth-of-type(odd) {
  background-color: #000000;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__features-grid, .page-cockfighting__tips-grid, .page-cockfighting__bet-types-grid, .page-cockfighting__other-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__feature-card, .page-cockfighting__tip-card, .page-cockfighting__bet-type-card, .page-cockfighting__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  border: 1px solid rgba(255, 215, 0, 0.3); /* Subtle gold border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #f0f0f0; /* Light text for card content */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__feature-card:hover, .page-cockfighting__tip-card:hover, .page-cockfighting__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting__bet-type-card.page-cockfighting__light-bg {
  background-color: #ffffff; /* White background for specific cards */
  color: #333333; /* Dark text for white background */
  border: 1px solid #FFD700;
}

.page-cockfighting__bet-type-card.page-cockfighting__light-bg:hover {
  background-color: #f0f0f0;
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-card img, .page-cockfighting__tip-card img, .page-cockfighting__step-card img, .page-cockfighting__game-card img {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px auto;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-title, .page-cockfighting__tip-title, .page-cockfighting__bet-type-title, .page-cockfighting__game-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold color for card titles */
  margin-bottom: 15px;
}

.page-cockfighting__bet-type-card .page-cockfighting__bet-type-title {
  color: #8B0000; /* Dark red for light background card titles */
}

.page-cockfighting__feature-text, .page-cockfighting__tip-text, .page-cockfighting__bet-type-text, .page-cockfighting__game-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  flex-grow: 1;
}

.page-cockfighting__bet-type-card .page-cockfighting__bet-type-text {
  color: #333333;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__step-card img {
  height: 200px;
  object-fit: contain; /* Use contain for step images */
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 0 15px;
}

.page-cockfighting__step-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  flex-grow: 1;
}

.page-cockfighting__center-button {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000000; /* Dark text for gold button */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary button */
  border: 2px solid #FFD700;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
  transform: translateY(-2px);
}

.page-cockfighting__game-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__game-card .page-cockfighting__game-title {
  color: #FFD700;
}

.page-cockfighting__game-card .page-cockfighting__game-text {
  color: #cccccc;
}

.page-cockfighting__game-card.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #FFD700;
}

.page-cockfighting__game-card.page-cockfighting__light-bg .page-cockfighting__game-title {
  color: #8B0000;
}

.page-cockfighting__game-card.page-cockfighting__light-bg .page-cockfighting__game-text {
  color: #333333;
}

.page-cockfighting__game-card.page-cockfighting__light-bg:hover {
  background-color: #f0f0f0;
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1a1a1a; /* Dark background for question */
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-question:hover {
  background: #2a2a2a;
  border-color: #FFD700;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold text for question */
  pointer-events: none;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Rotate for minus sign effect */
  color: #e6c200;
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #111111; /* Slightly lighter dark background for answer */
  border-radius: 0 0 8px 8px;
  color: #cccccc; /* Light text for answer content */
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  color: #cccccc;
}

.page-cockfighting__cta-section {
  background: linear-gradient(135deg, #8B0000, #FFD700); /* Gradient for CTA background */
  padding: 100px 20px;
  text-align: center;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__cta-section .page-cockfighting__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-cockfighting__btn-large {
  padding: 18px 45px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__hero-description, .page-cockfighting__section-description {
    font-size: 1em;
  }

  .page-cockfighting__feature-title, .page-cockfighting__tip-title, .page-cockfighting__bet-type-title, .page-cockfighting__game-title {
    font-size: 1.3em;
  }

  .page-cockfighting__feature-text, .page-cockfighting__tip-text, .page-cockfighting__bet-type-text, .page-cockfighting__game-text {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px; /* Mobile clear fixed header */
  }

  .page-cockfighting__hero-container {
    padding: 30px 15px;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-cockfighting__hero-btn {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-cockfighting__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-cockfighting__features-grid, .page-cockfighting__tips-grid, .page-cockfighting__bet-types-grid, .page-cockfighting__other-games-grid, .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card, .page-cockfighting__tip-card, .page-cockfighting__bet-type-card, .page-cockfighting__game-card, .page-cockfighting__step-card {
    padding: 25px;
  }

  .page-cockfighting__feature-card img, .page-cockfighting__tip-card img, .page-cockfighting__step-card img, .page-cockfighting__game-card img {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__feature-title, .page-cockfighting__tip-title, .page-cockfighting__bet-type-title, .page-cockfighting__game-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-cockfighting__feature-text, .page-cockfighting__tip-text, .page-cockfighting__bet-type-text, .page-cockfighting__game-text {
    font-size: 0.9em;
  }

  .page-cockfighting__step-title {
    font-size: 1.4em;
    margin: 15px 0 10px;
  }

  .page-cockfighting__btn-primary {
    padding: 10px 20px;
    font-size: 0.95em;
  }

  .page-cockfighting__btn-secondary {
    padding: 8px 20px;
    font-size: 0.85em;
  }

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

  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }

  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }

  .page-cockfighting__faq-answer p {
    font-size: 0.85em;
  }

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

  .page-cockfighting__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  
  /* Ensure all images and containers are fully responsive */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}