:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #121212;
  --card-background-dark: rgba(255, 255, 255, 0.08);
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-cockfighting {
  background-color: var(--background-dark);
  color: var(--text-color-light);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

.page-cockfighting h1, .page-cockfighting h2, .page-cockfighting h3, .page-cockfighting h4, .page-cockfighting h5, .page-cockfighting h6 {
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-cockfighting__hero-section {
  padding: 120px 20px 60px; /* Fixed nav spacing + section padding */
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a0a4a 100%);
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: var(--text-color-light);
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-color);
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__cta-button--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__features-section,
.page-cockfighting__guide-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__promo-section,
.page-cockfighting__support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 20px;
}

.page-cockfighting__features-container,
.page-cockfighting__guide-container,
.page-cockfighting__bet-types-container,
.page-cockfighting__promo-container,
.page-cockfighting__support-container,
.page-cockfighting__faq-container,
.page-cockfighting__conclusion-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-cockfighting__feature-item {
  background-color: var(--card-background-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__feature-icon {
  width: 120px; /* Increased size for content image, not icon */
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-cockfighting__feature-text {
  color: var(--text-color-light);
  font-size: 1em;
}

.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-cockfighting__guide-step-item {
  background-color: var(--card-background-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__guide-step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__guide-step-image {
  width: 150px; /* Increased size for content image */
  height: 150px;
  margin-bottom: 25px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__guide-step-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-cockfighting__guide-step-text {
  color: var(--text-color-light);
  font-size: 1em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__bet-types-section {
  background-color: #0d0d0d;
}

.page-cockfighting__section-intro {
  text-align: center;
  font-size: 1.1em;
  color: var(--text-color-light);
  max-width: 900px;
  margin: 0 auto 50px;
}

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

.page-cockfighting__bet-type-item {
  background-color: var(--card-background-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__bet-type-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__bet-type-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.page-cockfighting__bet-type-text {
  color: var(--text-color-light);
  font-size: 1em;
}

.page-cockfighting__promo-section {
  text-align: center;
  background: linear-gradient(45deg, var(--primary-color), #e6c200);
  color: var(--secondary-color);
  padding: 60px 20px;
}

.page-cockfighting__promo-section .page-cockfighting__section-title {
  color: var(--secondary-color);
  text-shadow: none;
}

.page-cockfighting__promo-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--secondary-color);
}

.page-cockfighting__promo-section .page-cockfighting__cta-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-cockfighting__promo-section .page-cockfighting__cta-button:hover {
  background-color: #0a0a4a;
  color: var(--primary-color);
  border-color: #0a0a4a;
}

.page-cockfighting__support-section {
  text-align: center;
  background-color: #0d0d0d;
}

.page-cockfighting__support-text {
  font-size: 1.1em;
  color: var(--text-color-light);
  max-width: 900px;
  margin: 0 auto 40px;
}

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

.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: var(--card-background-dark);
  border: 1px solid var(--border-color-dark);
  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: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 32px;
  height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: var(--text-color-light);
  transform: rotate(45deg); /* Changed to rotate for a 'x' effect */
}

.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;
  color: var(--text-color-light);
  background-color: var(--card-background-dark);
  border-left: 1px solid var(--border-color-dark);
  border-right: 1px solid var(--border-color-dark);
  border-bottom: 1px solid var(--border-color-dark);
  border-radius: 0 0 8px 8px;
}

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

.page-cockfighting__faq-answer p {
  margin: 0;
  color: var(--text-color-light);
}

.page-cockfighting__conclusion-section {
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  padding: 80px 20px;
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__conclusion-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--text-color-light);
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-button:hover {
  background-color: #e6c200;
  color: var(--secondary-color);
}

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 100px !important; /* Mobile fixed nav spacing */
    padding-bottom: 40px;
  }

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

  .page-cockfighting__hero-description,
  .page-cockfighting__promo-text,
  .page-cockfighting__support-text,
  .page-cockfighting__conclusion-text,
  .page-cockfighting__section-intro {
    font-size: 1em;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
  }

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

  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__promo-section,
  .page-cockfighting__support-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 60px 15px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__guide-step-item,
  .page-cockfighting__bet-type-item {
    padding: 25px;
  }

  .page-cockfighting__feature-icon,
  .page-cockfighting__guide-step-image {
    width: 100px;
    height: 100px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__guide-step-title {
    font-size: 1.3em;
  }

  .page-cockfighting__bet-type-title {
    font-size: 1.5em;
  }

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

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

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

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

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

  /* Image responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__features-container,
  .page-cockfighting__guide-container,
  .page-cockfighting__bet-types-container,
  .page-cockfighting__promo-container,
  .page-cockfighting__support-container,
  .page-cockfighting__faq-container,
  .page-cockfighting__conclusion-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__cta-button {
    font-size: 0.9em !important;
    padding: 10px 20px !important;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__guide-step-title {
    font-size: 1.2em;
  }
  .page-cockfighting__bet-type-title {
    font-size: 1.3em;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 0.95em;
  }
  .page-cockfighting__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
}