.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-cockfighting h1, .page-cockfighting h2, .page-cockfighting h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting h1 {
  font-size: 3em;
  text-align: center;
  color: #fff;
}

.page-cockfighting h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-cockfighting h3 {
  font-size: 1.8em;
  color: var(--primary-color);
}

.page-cockfighting p {
  margin-bottom: 15px;
  color: #555;
}

.page-cockfighting a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-cockfighting a:hover {
  text-decoration: underline;
}

.page-cockfighting .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-cockfighting .cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting .primary-button {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-cockfighting .secondary-button {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  margin-left: 20px;
}

.page-cockfighting .secondary-button:hover {
  background: #0A1931;
  color: #FFD700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting .text-center {
  text-align: center;
}

/* 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: var(--primary-color);
  overflow: hidden;
}

.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;
  z-index: 1;
}

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

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

.page-cockfighting .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
}

.page-cockfighting .hero-content h1 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 3.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* General Section Styling */
.page-cockfighting .introduction-section, 
.page-cockfighting .benefits-section, 
.page-cockfighting .registration-guide, 
.page-cockfighting .game-types, 
.page-cockfighting .betting-tips, 
.page-cockfighting .promotions-section, 
.page-cockfighting .security-support-section, 
.page-cockfighting .faq-section, 
.page-cockfighting .latest-articles, 
.page-cockfighting .call-to-action-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting .introduction-section {
  background-color: #f2f7fc;
}

.page-cockfighting .game-types img, 
.page-cockfighting .betting-tips img, 
.page-cockfighting .promotions-section img, 
.page-cockfighting .security-support-section img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting ol, .page-cockfighting ul {
  list-style-position: inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting ol li, .page-cockfighting ul li {
  margin-bottom: 10px;
  color: #555;
}

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

.page-cockfighting .benefit-card {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting .benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting .benefit-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-cockfighting .benefit-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-cockfighting .benefit-card h3 a:hover {
  text-decoration: underline;
}

.page-cockfighting .benefit-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 5px;
  object-fit: cover;
}

/* FAQ Section */
.page-cockfighting .faq-list {
  margin-top: 30px;
}

.page-cockfighting .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

.page-cockfighting .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-cockfighting .faq-question:hover {
  background: #f0f0f0;
}

.page-cockfighting .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.page-cockfighting .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-cockfighting .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-cockfighting .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #ffffff;
}

.page-cockfighting .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border-top: 1px solid #eee;
}

.page-cockfighting .faq-answer p {
  margin-bottom: 0;
  color: #444;
}

/* Latest Articles Section */
.page-cockfighting .latest-articles {
  background-color: #f2f7fc;
}

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

.page-cockfighting .article-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting .article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting .article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-cockfighting .article-card h3 {
  font-size: 1.4em;
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-cockfighting .article-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-cockfighting .article-card h3 a:hover {
  text-decoration: underline;
}

.page-cockfighting .article-card p {
  padding: 0 20px;
  font-size: 0.95em;
  color: #666;
}

.page-cockfighting .article-card .article-date {
  display: block;
  font-size: 0.85em;
  color: #999;
  padding: 10px 20px 20px;
}

/* Call to Action Section */
.page-cockfighting .call-to-action-section {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #003366);
  color: #ffffff;
  padding: 80px 0;
  margin-bottom: 0; /* Remove margin for the last section */
}

.page-cockfighting .call-to-action-section h2 {
  color: var(--secondary-color);
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-cockfighting .call-to-action-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-cockfighting .call-to-action-section .cta-button {
  margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting h1 {
    font-size: 2.8em;
  }
  .page-cockfighting h2 {
    font-size: 2em;
  }
  .page-cockfighting .hero-content h1 {
    font-size: 2.8em;
  }
  .page-cockfighting .hero-content p {
    font-size: 1.1em;
  }
  .page-cockfighting .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-cockfighting .article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-cockfighting .call-to-action-section h2 {
    font-size: 2.2em;
  }
  .page-cockfighting .call-to-action-section p {
    font-size: 1em;
  }
}

@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 25px;
    font-size: 1em;
  }
  .page-cockfighting h1 {
    font-size: 2.2em;
  }
  .page-cockfighting h2 {
    font-size: 1.8em;
  }
  .page-cockfighting h3 {
    font-size: 1.4em;
  }
  .page-cockfighting .benefit-card {
    padding: 20px;
  }
  .page-cockfighting .faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting .faq-question h3 {
    font-size: 1.1em;
  }
  .page-cockfighting .faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-cockfighting .secondary-button {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-cockfighting .call-to-action-section .cta-button {
    display: block;
    margin: 15px auto;
  }
}

@media (max-width: 480px) {
  .page-cockfighting h1 {
    font-size: 1.8em;
  }
  .page-cockfighting h2 {
    font-size: 1.5em;
  }
  .page-cockfighting .hero-content h1 {
    font-size: 1.8em;
  }
  .page-cockfighting .hero-content p {
    font-size: 0.9em;
  }
  .page-cockfighting .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-cockfighting .benefits-grid, .page-cockfighting .article-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting .faq-question h3 {
    font-size: 1em;
  }
  .page-cockfighting .call-to-action-section h2 {
    font-size: 1.8em;
  }
}