.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: var(--background-color, #FFFFFF);
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-cockfighting__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

.page-cockfighting__about-cockfighting .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__image-left {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-cockfighting__image-left .page-cockfighting__image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__image-left .page-cockfighting__text-content {
  flex: 1.5;
}

.page-cockfighting__subsection-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__subsection-title + p {
  text-align: justify;
}

.page-cockfighting__game-types {
  background-color: #f8f9fa;
}

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

.page-cockfighting__card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-cockfighting__how-to-play {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-cockfighting__how-to-play .page-cockfighting__section-title,
.page-cockfighting__how-to-play .page-cockfighting__text-block {
  color: #FFFFFF;
}

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

.page-cockfighting__step-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-icon {
  background: #FFFFFF;
  color: #26A9E0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting__tips-strategies {
  background-color: #FFFFFF;
}

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

.page-cockfighting__list-item {
  background: #f8f9fa;
  border-left: 5px solid #26A9E0;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__list-item p {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  text-align: justify;
}

.page-cockfighting__image-right {
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting__image-right .page-cockfighting__image {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__promotions {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-cockfighting__promotions .page-cockfighting__section-title,
.page-cockfighting__promotions .page-cockfighting__text-block {
  color: #FFFFFF;
}

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

.page-cockfighting__promotion-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-cockfighting__promotion-card .page-cockfighting__card-title {
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-cockfighting__promotion-card .page-cockfighting__card-description {
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__btn-link {
  display: inline-block;
  background: #FFFFFF;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  border: 2px solid transparent;
}

.page-cockfighting__btn-link:hover {
  background: #E0F7FA;
  color: #26A9E0;
}

.page-cockfighting__faq {
  background-color: #f8f9fa;
}

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

.page-cockfighting__faq-item {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eeeeee;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  text-align: justify;
}

.page-cockfighting__cta-final {
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 20px;
}

.page-cockfighting__cta-final .page-cockfighting__section-title,
.page-cockfighting__cta-final .page-cockfighting__text-block {
  color: #FFFFFF;
}

.page-cockfighting__text-center {
  text-align: center;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
  background-color: #FF8C00;
  border-color: #FF8C00;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__image-left {
    flex-direction: column;
  }
  .page-cockfighting__image-left .page-cockfighting__image {
    width: 100%;
    margin-bottom: 30px;
  }
  .page-cockfighting__image-left .page-cockfighting__text-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-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__section {
    padding: 50px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__list-item p,
  .page-cockfighting__card-description,
  .page-cockfighting__step-description,
  .page-cockfighting__faq-answer {
    font-size: 0.95em;
    text-align: left;
  }

  .page-cockfighting__cards-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__promotion-card {
    padding: 20px;
  }

  .page-cockfighting__image-left,
  .page-cockfighting__image-right {
    margin-top: 30px;
  }

  /* Mobile specific image/video/container rules */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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__hero-section,
  .page-cockfighting__image-left,
  .page-cockfighting__image-right,
  .page-cockfighting__cta-wrapper,
  .page-cockfighting__hero-buttons,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__cards-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-cockfighting__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-qtext {
    padding-right: 10px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
}

/* Color contrast safety */
.page-cockfighting__dark-section {
  background: #26A9E0;
  color: #ffffff;
}
.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__card-title {
  color: #ffffff;
}
.page-cockfighting__light-bg {
  background: #f8f9fa;
  color: #333333;
}
.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #26A9E0;
}
.page-cockfighting__btn-primary {
  background: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}
.page-cockfighting__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.page-cockfighting a[class*="button"]:hover,
.page-cockfighting a[class*="btn"]:hover {
  filter: brightness(1.1);
}

.page-cockfighting__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-cockfighting__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}