/* style/cockfighting.css */

/* Body background color is from shared.css, assuming dark. Text colors adjusted accordingly. */
.page-cockfighting {
  color: var(--text-main-color, #FFF3E6); /* Default light text for dark body */
  background-color: var(--background-color, #0D0E12);
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding, body handles header offset */
  background-color: var(--background-color, #0D0E12);
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  order: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  order: 2;
  max-width: 900px;
  z-index: 1;
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--glow-color, #FFB04D);
  margin-bottom: 20px;
}

.page-cockfighting__description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, var(--auxiliary-color, #FFA53A) 0%, var(--deep-orange-color, #D96800) 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--glow-color, #FFB04D);
}

.page-cockfighting__intro-section,
.page-cockfighting__benefits-section,
.page-cockfighting__tips-section,
.page-cockfighting__cta-bottom-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #17191F); /* Light background for these sections */
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__dark-bg {
  background-color: var(--background-color, #0D0E12);
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__light-bg {
  background-color: var(--card-bg-color, #17191F);
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__image-text-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-cockfighting__image-text-grid .page-cockfighting__image-wrapper,
.page-cockfighting__image-text-grid .page-cockfighting__text-content {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__image-text-grid .page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-cockfighting__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__list-item::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--primary-color, #FF8C1A);
  font-size: 0.8rem;
  top: 4px;
}

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

.page-cockfighting__benefit-card {
  background-color: var(--card-bg-color, #17191F);
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color, #FF8C1A);
}

.page-cockfighting__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main-color, #FFF3E6);
}

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

.page-cockfighting__how-to-play-section {
  padding: 80px 0;
  background-color: var(--background-color, #0D0E12);
  color: var(--text-main-color, #FFF3E6);
}

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

.page-cockfighting__guide-step {
  text-align: center;
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__guide-image {
  width: 100%;
  height: auto;
  max-height: 225px; /* Maintain aspect ratio, but cap height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #A84F0C);
}

.page-cockfighting__guide-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color, #FF8C1A);
}

.page-cockfighting__guide-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: var(--background-color, #0D0E12);
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg-color, #17191F);
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--primary-color, #FF8C1A);
  list-style: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main-color, #FFF3E6);
}

.page-cockfighting__cta-bottom-section {
  text-align: center;
  padding: 60px 0;
  background-color: var(--card-bg-color, #17191F);
  color: var(--text-main-color, #FFF3E6);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-cockfighting__description {
    font-size: 0.95rem;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 0.9rem;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 15px;
  }

  .page-cockfighting__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  .page-cockfighting__intro-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__cta-bottom-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
  }

  .page-cockfighting__text-block {
    font-size: 0.9rem;
  }

  .page-cockfighting__image-text-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-cockfighting__image-text-grid .page-cockfighting__image-wrapper,
  .page-cockfighting__image-text-grid .page-cockfighting__text-content {
    min-width: unset;
    width: 100%;
  }

  .page-cockfighting__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__benefit-card {
    padding: 20px;
  }

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

  .page-cockfighting__guide-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-cockfighting__guide-title {
    font-size: 1.1rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  /* Mobile specific image, video, button adaptations */
  .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;
  }
}