/* style/cockfighting.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-button-color: #EA7C07;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --background-color-light: #FFFFFF;
  --background-color-dark: #1a1a2e; /* From body background */
  --border-color-light: #e0e0e0;
}

/* Base styles for the page content */
.page-cockfighting {
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-color-dark);
}

.page-cockfighting__light-bg {
  background-color: var(--background-color-light);
  color: var(--text-color-light-bg);
}

.page-cockfighting__dark-bg {
  background-color: var(--background-color-dark);
  color: var(--text-color-dark-bg);
}

.page-cockfighting__text-contrast-fix {
  color: var(--text-color-dark-bg) !important;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
}

.page-cockfighting__lead-paragraph {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-color-dark-bg);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

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

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

/* Specific button for login/register if needed */
.page-cockfighting__btn-login {
  background-color: var(--login-button-color);
  color: var(--secondary-color);
  border: 2px solid var(--login-button-color);
}

.page-cockfighting__btn-login:hover {
  background-color: darken(var(--login-button-color), 10%);
  border-color: darken(var(--login-button-color), 10%);
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: inherit;
}

.page-cockfighting__intro-section p,
.page-cockfighting__why-choose-us p,
.page-cockfighting__tips-strategy-section p,
.page-cockfighting__promotions-section p,
.page-cockfighting__safety-support-section p,
.page-cockfighting__conclusion-section p {
  margin-bottom: 1em;
  font-size: 1.05em;
  color: inherit;
}

.page-cockfighting__video-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
}

.page-cockfighting__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
}

.page-cockfighting__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-cockfighting__video-link {
  display: block;
  width: 100%;
  height: 100%;
}

.page-cockfighting__video-cta {
  margin-top: 20px;
}

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

.page-cockfighting__feature-card {
  background-color: var(--background-color-light);
  color: var(--text-color-light-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-cockfighting__numbered-list {
  list-style-type: none;
  padding: 0;
  counter-reset: item;
  margin-top: 30px;
}

.page-cockfighting__numbered-list li {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  counter-increment: item;
}

.page-cockfighting__numbered-list li::before {
  content: counter(item);
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.1em;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-cockfighting__list-title {
  font-size: 1.25em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-cockfighting__list-title + p {
  margin-top: 0;
}

.page-cockfighting__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__image-left {
  order: -1;
}

.page-cockfighting__text-content {
  flex: 2;
  min-width: 300px;
}

.page-cockfighting__bullet-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1em;
}

.page-cockfighting__bullet-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.page-cockfighting__bullet-list li::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-cockfighting__promo-card {
  background-color: var(--background-color-light);
  color: var(--text-color-light-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__promo-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
  margin-top: auto; /* Push button to bottom */
}

.page-cockfighting__promo-note {
  font-size: 0.9em;
  text-align: center;
  margin-top: 40px;
  opacity: 0.8;
}

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

.page-cockfighting__feature-item {
  background-color: var(--background-color-light);
  color: var(--text-color-light-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-item-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

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

.page-cockfighting__faq-item {
  background-color: var(--background-color-dark);
  color: var(--text-color-dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-color-dark-bg);
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__faq-answer p {
  margin-bottom: 1em;
}

.page-cockfighting__link-text {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-cockfighting__link-text:hover {
  color: darken(var(--primary-color), 10%);
}

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

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-cockfighting__lead-paragraph {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__content-area,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__feature-grid,
  .page-cockfighting__promotion-cards,
  .page-cockfighting__safety-features,
  .page-cockfighting__faq-list,
  .page-cockfighting__promo-card,
  .page-cockfighting__feature-card,
  .page-cockfighting__feature-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__video,
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__image-text-block {
    flex-direction: column;
    gap: 20px;
  }
  .page-cockfighting__image-left {
    order: unset;
  }
  .page-cockfighting__feature-icon,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
  }
  .page-cockfighting__numbered-list li {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-cockfighting__numbered-list li::before {
    margin-bottom: 10px;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__lead-paragraph {
    font-size: 0.95em;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__list-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__feature-item-title {
    font-size: 1.1em;
  }
}