/* style/cockfighting.css */
:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --background-dark: #1a2a46;
  --background-light: #ffffff;
  --accent-color: #e0ac00;
  --border-color: #3d4a60;
}

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

.page-cockfighting .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 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: var(--background-dark);
  color: var(--text-light);
  overflow: hidden; /* Ensure content doesn't spill */
}

.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;
}

.page-cockfighting .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  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%;
}

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

.page-cockfighting .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-cockfighting .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-cockfighting .cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-cockfighting section {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.page-cockfighting h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-cockfighting h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-cockfighting p {
  font-size: 1.1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: justify;
}

/* Introduction Section */
.page-cockfighting .introduction-section {
  background-color: var(--background-light);
}

.page-cockfighting .introduction-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.page-cockfighting .feature-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-cockfighting .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting .feature-item img {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-cockfighting .feature-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-cockfighting .feature-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
}

/* How-To-Play Section */
.page-cockfighting .how-to-play-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-cockfighting .how-to-play-section h2, .page-cockfighting .how-to-play-section h3 {
  color: var(--secondary-color);
}

.page-cockfighting .how-to-play-section p {
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting .step-item h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-cockfighting .step-item p {
  font-size: 1em;
  color: var(--text-light);
  flex-grow: 1;
  text-align: center;
}

.page-cockfighting .step-image {
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting .small-cta-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting .small-cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Strategy Section */
.page-cockfighting .strategy-section {
  background-color: var(--background-light);
}

.page-cockfighting .strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  align-items: center;
}

.page-cockfighting .strategy-text {
  flex: 2;
  min-width: 300px;
}

.page-cockfighting .strategy-text h3 {
  text-align: left;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting .strategy-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-cockfighting .strategy-text ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 20.42L2.79 14.21L5.62 11.38L9 14.77L18.38 5.38L21.21 8.21L9 20.42Z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-size: 1.05em;
}

.page-cockfighting .strategy-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-cockfighting .strategy-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* Promotions Section */
.page-cockfighting .promotions-section {
  background-color: #f0f4f8;
}

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

.page-cockfighting .promo-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting .promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-cockfighting .promo-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting .promo-card h3 a:hover {
  color: var(--accent-color);
}

.page-cockfighting .promo-card p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting .promo-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-cockfighting .promo-button:hover {
  background: #06101f;
  transform: translateY(-2px);
}

/* Customer Support Section */
.page-cockfighting .customer-support-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-cockfighting .customer-support-section h2 {
  color: var(--secondary-color);
}

.page-cockfighting .customer-support-section p {
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting .support-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  align-items: center;
}

.page-cockfighting .support-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-cockfighting .support-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-cockfighting .support-text {
  flex: 2;
  min-width: 300px;
}

.page-cockfighting .support-text h3 {
  text-align: left;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 20px;
}

.page-cockfighting .support-text p {
  text-align: justify;
  color: var(--text-light);
}

/* FAQ Section */
.page-cockfighting .faq-section {
  background-color: var(--background-light);
}

.page-cockfighting .faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  text-align: left;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

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

.faq-answer p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1em;
  text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting .hero-content h1 {
    font-size: 3em;
  }

  .page-cockfighting .hero-content p {
    font-size: 1.1em;
  }

  .page-cockfighting h2 {
    font-size: 2.2em;
  }

  .page-cockfighting h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting .hero-section {
    padding: 40px 15px;
  }

  .page-cockfighting .hero-content h1 {
    font-size: 2.5em;
  }

  .page-cockfighting .hero-content p {
    font-size: 1em;
  }

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

  .page-cockfighting section {
    padding: 60px 0;
  }

  .page-cockfighting h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-cockfighting h3 {
    font-size: 1.4em;
  }

  .page-cockfighting p {
    font-size: 0.95em;
  }

  .page-cockfighting .feature-grid, .page-cockfighting .step-by-step, .page-cockfighting .promo-cards {
    grid-template-columns: 1fr;
  }

  .page-cockfighting .strategy-content, .page-cockfighting .support-content {
    flex-direction: column;
  }

  .page-cockfighting .strategy-text h3, .page-cockfighting .support-text h3 {
    text-align: center;
  }

  .page-cockfighting .strategy-text ul li {
    background-position: top 5px left;
  }

  .faq-question {
    padding: 12px;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-toggle {
    font-size: 18px;
  }

  .faq-answer {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting .hero-content h1 {
    font-size: 2em;
  }

  .page-cockfighting .hero-content p {
    font-size: 0.9em;
  }

  .page-cockfighting .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }

  .page-cockfighting h2 {
    font-size: 1.8em;
  }

  .page-cockfighting h3 {
    font-size: 1.2em;
  }
}