.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1a1a1a; /* Very dark background */
  line-height: 1.6;
}

.page-cockfighting .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-cockfighting .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #2F4F4F 0%, #1a1a1a 100%); /* Dark gradient background */
}

.page-cockfighting .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.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 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #FFFFFF; /* White text on dark background */
}

.page-cockfighting .hero-content h1 {
  font-size: 3.5em;
  color: #FFD700; /* Primary color for H1 */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting .hero-content p {
  font-size: 1.2em;
  color: #F0F0F0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Primary color for CTA */
  color: #2F4F4F; /* Dark text on primary button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-cockfighting .cta-button:hover {
  background: #FFC400; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.page-cockfighting .cta-button.cta-small {
  padding: 12px 30px;
  font-size: 1em;
  margin-top: 15px;
}

/* General Section Styling */
.page-cockfighting section {
  padding: 80px 0;
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
}

.page-cockfighting section:nth-of-type(even) {
  background-color: #202020;
}

.page-cockfighting h2 {
  font-size: 2.5em;
  color: #FFD700; /* Primary color for H2 */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-cockfighting h3 {
  font-size: 1.8em;
  color: #FFD700; /* Primary color for H3 */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting p {
  font-size: 1em;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-cockfighting ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-cockfighting ul li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-cockfighting strong {
  color: #FFD700;
}

/* Game Type Grid */
.page-cockfighting .game-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting .game-card {
  background-color: #2F4F4F; /* Auxiliary color for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-cockfighting .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting .game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 4px solid #FFD700; /* Primary color accent */
}

.page-cockfighting .game-card h3 {
  color: #FFD700;
  font-size: 1.5em;
  padding: 20px 20px 10px;
  margin-top: 0;
}

.page-cockfighting .game-card p {
  color: #D0D0D0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-cockfighting .card-link {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background-color: #FFD700; /* Primary color for card link */
  color: #2F4F4F; /* Dark text on primary background */
  text-decoration: none;
  font-weight: bold;
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-cockfighting .card-link:hover {
  background-color: #FFC400;
  color: #1a1a1a;
}

/* Guide Steps */
.page-cockfighting .guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting .step-item {
  background-color: #2F4F4F;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting .step-item h3 {
  color: #FFD700;
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-cockfighting .step-item p {
  color: #D0D0D0;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-cockfighting .step-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-cockfighting .section-faq {
  background-color: #1a1a1a;
}

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2F4F4F; /* Auxiliary color for question background */
  border: 1px solid #444;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #3a5a5a;
  border-color: #FFD700;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #FFD700; /* Primary color for FAQ question text */
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700; /* Primary color for toggle icon */
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #252525;
  color: #E0E0E0;
  border-radius: 0 0 8px 8px;
  border: 1px solid #444;
  border-top: none;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-cockfighting .link-text {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-cockfighting .link-text:hover {
  color: #FFC400;
}

/* Blog Section */
.page-cockfighting .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting .blog-card {
  background-color: #2F4F4F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-cockfighting .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting .blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for blog images */
  object-fit: cover;
  border-bottom: 4px solid #FFD700;
}

.page-cockfighting .blog-card h3 {
  color: #FFD700;
  font-size: 1.3em;
  padding: 20px 20px 10px;
  margin-top: 0;
  flex-grow: 1;
}

.page-cockfighting .blog-card h3 a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting .blog-card h3 a:hover {
  color: #FFC400;
}

.page-cockfighting .blog-card p {
  color: #D0D0D0;
  padding: 0 20px 20px;
}

.page-cockfighting .read-more-link {
  display: block;
  text-align: center;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #2F4F4F;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-cockfighting .read-more-link:hover {
  background-color: #FFC400;
  color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting .hero-content h1 {
    font-size: 2.8em;
  }
  .page-cockfighting h2 {
    font-size: 2em;
  }
  .page-cockfighting .game-card img, .page-cockfighting .blog-card img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting .hero-section {
    padding: 40px 15px;
  }
  .page-cockfighting .hero-content h1 {
    font-size: 2.2em;
  }
  .page-cockfighting .hero-content p {
    font-size: 1em;
  }
  .page-cockfighting .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-cockfighting section {
    padding: 50px 0;
  }
  .page-cockfighting h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting h3 {
    font-size: 1.5em;
  }
  .page-cockfighting .container {
    padding: 15px;
  }
  .page-cockfighting .game-type-grid, .page-cockfighting .guide-steps, .page-cockfighting .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting .game-card img, .page-cockfighting .blog-card img {
    height: 180px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting .hero-content h1 {
    font-size: 1.8em;
  }
  .page-cockfighting .cta-button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-cockfighting h2 {
    font-size: 1.5em;
  }
  .page-cockfighting h3 {
    font-size: 1.2em;
  }
  .page-cockfighting .game-card img, .page-cockfighting .blog-card img {
    height: 150px;
  }
}