/* style/cockfighting.css */
/* Body background color is #0a0a0a (dark), so text should be light by default. */
/* Fixed header spacing is handled by shared.css on body, this page should not re-apply. */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --button-login: #EA7C07;
}

.page-cockfighting {
  color: var(--text-light); /* Default text color for the page content */
  background-color: var(--background-dark);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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;
  color: var(--text-light);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
  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: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 20px;
  /* Using clamp for responsive font-size, avoiding fixed large values */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  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;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  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(--text-light);
}

.page-cockfighting__btn-link {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-cockfighting__btn-link:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-cockfighting__section {
  padding: 80px 20px;
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__features-section,
.page-cockfighting__support-section {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-cockfighting__betting-types-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-cockfighting__numbered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 40px;
}

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list-item .page-cockfighting__list-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__list-item p {
  font-size: 1rem;
  line-height: 1.5;
}

.page-cockfighting__list--icon .page-cockfighting__list-item {
  position: relative;
  padding-left: 45px;
  background-color: transparent;
  box-shadow: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 0;
}

.page-cockfighting__list--icon .page-cockfighting__list-item:last-child {
  border-bottom: none;
}

.page-cockfighting__list--icon .page-cockfighting__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: bold;
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  margin: 0;
}

.page-cockfighting__card-description {
  padding: 0 20px 15px;
  font-size: 1rem;
  flex-grow: 1;
}

.page-cockfighting__card .page-cockfighting__btn-link {
  margin: 0 20px 20px;
  align-self: flex-start;
}

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

.page-cockfighting__feature-item {
  text-align: center;
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

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

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
}

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

.page-cockfighting__info-item {
  background-color: var(--background-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  text-align: center;
}

.page-cockfighting__info-item .page-cockfighting__info-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__info-item p {
  font-size: 1rem;
  margin-bottom: 20px;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 15px 20px 20px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.5;
}

.highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
  }

  .page-cockfighting__section {
    padding: 60px 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

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

  .page-cockfighting__text-block,
  .page-cockfighting__list-item p,
  .page-cockfighting__card-description,
  .page-cockfighting__feature-description,
  .page-cockfighting__info-item p,
  .page-cockfighting__faq-answer {
    font-size: 15px;
  }

  /* Mobile image, video, and container responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-content {
    padding: 15px;
  }

  .page-cockfighting__list-item {
    padding: 15px;
  }

  .page-cockfighting__list--icon .page-cockfighting__list-item {
    padding-left: 35px;
  }

  .page-cockfighting__list--icon .page-cockfighting__list-item::before {
    top: 10px;
    font-size: 1.2rem;
  }

  .page-cockfighting__card-grid,
  .page-cockfighting__feature-grid,
  .page-cockfighting__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__info-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.2rem;
  }
}