/* style/cockfighting.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #00BFFF; /* Deep Sky Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f1f3f5;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark);
}

/* Fixed navigation bar spacing for desktop */
.page-cockfighting__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
}

.page-cockfighting__intro-section,
.page-cockfighting__review-content-section,
.page-cockfighting__game-types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__news-section,
.page-cockfighting__faq-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
}

.page-cockfighting__review-content-section,
.page-cockfighting__game-types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__news-section,
.page-cockfighting__faq-section {
  background-color: var(--bg-dark);
}

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

.page-cockfighting__main-title {
  font-size: 3.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-cockfighting__subtitle {
  font-size: 1.3em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-cockfighting__image-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.page-cockfighting__intro-image,
.page-cockfighting__card-image,
.page-cockfighting__strategy-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}

.page-cockfighting__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 18px 45px;
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

/* Review Content Section */
.page-cockfighting__review-content-section {
  background-color: var(--bg-dark);
  padding: 60px 20px;
}

.page-cockfighting__review-content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__review-content-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 40px;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__review-content-card h2 {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.page-cockfighting__review-content-card h3 {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 28px;
  margin-bottom: 15px;
}

.page-cockfighting__review-body {
  color: var(--text-light);
  line-height: 1.7;
}

.page-cockfighting__review-body p {
  margin-bottom: 16px;
  font-size: 1.1em;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  background-color: var(--bg-dark);
}

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

.page-cockfighting__type-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__type-card .page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  font-size: 1em;
  color: var(--text-light);
  line-height: 1.6;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  background-color: var(--bg-dark);
}

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

.page-cockfighting__strategy-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__strategy-item .page-cockfighting__strategy-image {
  width: 100%;
  height: 180px; /* Fixed height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__item-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__item-description {
  font-size: 1em;
  color: var(--text-light);
  line-height: 1.6;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: var(--bg-dark);
}

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

.page-cockfighting__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__promo-card .page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__btn-promo {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: linear-gradient(135deg, var(--secondary-color), #00A3CC);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-cockfighting__btn-promo:hover {
  background: linear-gradient(135deg, #00A3CC, var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* News Section */
.page-cockfighting__news-section {
  background-color: var(--bg-dark);
}

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

.page-cockfighting__news-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__news-card .page-cockfighting__card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__news-card .page-cockfighting__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__news-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting__news-link:hover {
  color: #FFA500;
  text-decoration: underline;
}

.page-cockfighting__news-card .page-cockfighting__card-description {
  font-size: 0.95em;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-cockfighting__read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting__read-more:hover {
  color: #00A3CC;
  text-decoration: underline;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: var(--bg-dark);
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.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: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 1.05em;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 12px 12px;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-question {
  border-radius: 12px 12px 0 0;
  background: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5em;
  }
  .page-cockfighting__text-content,
  .page-cockfighting__review-body p,
  .page-cockfighting__card-description,
  .page-cockfighting__item-description,
  .page-cockfighting__news-card .page-cockfighting__card-description,
  .page-cockfighting__faq-answer p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__intro-section {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
  }
  .page-cockfighting__intro-section,
  .page-cockfighting__review-content-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__news-section,
  .page-cockfighting__faq-section {
    padding: 40px 15px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-cockfighting__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-cockfighting__text-content,
  .page-cockfighting__review-body p,
  .page-cockfighting__card-description,
  .page-cockfighting__item-description,
  .page-cockfighting__news-card .page-cockfighting__card-description,
  .page-cockfighting__faq-answer p {
    font-size: 0.95em;
    line-height: 1.5;
  }

  .page-cockfighting__cta-button {
    padding: 15px 30px;
    font-size: 1em;
    margin-top: 30px;
  }
  .page-cockfighting__cta-button--small {
    padding: 10px 25px;
    font-size: 0.9em;
  }

  .page-cockfighting__review-content-card,
  .page-cockfighting__type-card,
  .page-cockfighting__strategy-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__news-card,
  .page-cockfighting__faq-item {
    border-radius: 8px;
    padding: 20px;
  }

  .page-cockfighting__review-content-card h2 {
    font-size: 1.8em;
  }
  .page-cockfighting__review-content-card h3 {
    font-size: 1.4em;
  }

  .page-cockfighting__type-card .page-cockfighting__card-image,
  .page-cockfighting__strategy-item .page-cockfighting__strategy-image,
  .page-cockfighting__promo-card .page-cockfighting__card-image,
  .page-cockfighting__news-card .page-cockfighting__card-image {
    height: 160px;
    margin-bottom: 15px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__item-title,
  .page-cockfighting__news-card .page-cockfighting__card-title {
    font-size: 1.2em;
  }

  .page-cockfighting__btn-promo {
    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: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__review-content-card,
  .page-cockfighting__type-card,
  .page-cockfighting__strategy-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__news-card,
  .page-cockfighting__faq-item {
    padding: 15px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 0.95em;
  }
}