/* style/cockfighting.css */

:root {
  --page-cockfighting-primary-color: #11A84E;
  --page-cockfighting-secondary-color: #22C768;
  --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-background: #08160F;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border-color: #2E7A4E;
  --page-cockfighting-glow-color: #57E38D;
  --page-cockfighting-gold-color: #F2C14E;
  --page-cockfighting-divider-color: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--page-cockfighting-text-main); /* Default text color for the page */
  background-color: var(--page-cockfighting-background); /* Default background for the main content area */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  color: var(--page-cockfighting-text-main);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text contrast */
}

.page-cockfighting__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-cockfighting-gold-color);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: var(--page-cockfighting-primary-color);
  color: #ffffff;
}

.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-cockfighting__light-bg {
  background-color: #f0f0f0; /* A lighter background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__section-description,
.page-cockfighting__light-bg .page-cockfighting__content-subtitle,
.page-cockfighting__light-bg .page-cockfighting__step-title,
.page-cockfighting__light-bg .page-cockfighting__step-description,
.page-cockfighting__light-bg .page-cockfighting__promotion-title,
.page-cockfighting__light-bg .page-cockfighting__promotion-description,
.page-cockfighting__light-bg .page-cockfighting__promotion-note,
.page-cockfighting__light-bg .page-cockfighting__faq-qtext,
.page-cockfighting__light-bg .page-cockfighting__faq-answer p {
  color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary {
  background: #ffffff;
  color: var(--page-cockfighting-primary-color);
  border: 2px solid var(--page-cockfighting-primary-color);
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-primary-color);
  color: #ffffff;
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__light-bg .page-cockfighting__section-description {
  color: #666666;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
  order: 2;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
  order: 1;
}

.page-cockfighting__content-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__text-block p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__light-bg .page-cockfighting__text-block p {
  color: #444444;
}

.page-cockfighting__text-block .page-cockfighting__btn-primary,
.page-cockfighting__text-block .page-cockfighting__btn-secondary {
  margin-top: 20px;
  margin-right: 15px;
}

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

.page-cockfighting__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-cockfighting-glow-color);
  font-weight: bold;
}

.page-cockfighting__light-bg .page-cockfighting__list li {
  color: #444444;
}

.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Guide Section */
.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-cockfighting__light-bg .page-cockfighting__step-card {
  background-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__light-bg .page-cockfighting__step-title {
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
  flex-grow: 1; /* Allow description to take available space */
}

.page-cockfighting__light-bg .page-cockfighting__step-description {
  color: #555555;
}

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

.page-cockfighting__content-image--large {
  max-width: 900px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Promotions Section */
.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-color: var(--page-cockfighting-card-bg);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__light-bg .page-cockfighting__promotion-card {
  background-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__promotion-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__light-bg .page-cockfighting__promotion-title {
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__promotion-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__light-bg .page-cockfighting__promotion-description {
  color: #555555;
}

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

.page-cockfighting__promotion-note {
  font-size: 0.85rem;
  margin-top: 40px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__light-bg .page-cockfighting__promotion-note {
  color: #777777;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__light-bg .page-cockfighting__faq-item {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-cockfighting-gold-color);
  transition: background-color 0.3s ease;
  border-bottom: 1px solid var(--page-cockfighting-divider-color);
}

.page-cockfighting__light-bg .page-cockfighting__faq-question {
  color: var(--page-cockfighting-primary-color);
  border-bottom: 1px solid #e0e0e0;
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
  background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__light-bg .page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
  background-color: var(--page-cockfighting-primary-color);
  color: #ffffff;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--page-cockfighting-glow-color);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__light-bg .page-cockfighting__faq-toggle {
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__light-bg .page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: #ffffff;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
  text-align: left;
}

.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #444444;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
    order: initial;
  }
  .page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
    order: initial;
  }
  .page-cockfighting__hero-content {
    max-width: 90%;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
    top: 55%;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.85rem, 3vw, 1rem);
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__content-subtitle {
    font-size: 1.4rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-cockfighting__text-block p,
  .page-cockfighting__list li,
  .page-cockfighting__step-description,
  .page-cockfighting__promotion-description,
  .page-cockfighting__promotion-note,
  .page-cockfighting__faq-answer p {
    font-size: 0.95rem;
  }

  .page-cockfighting__guide-steps,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__step-card,
  .page-cockfighting__promotion-card {
    padding: 25px;
  }

  .page-cockfighting__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }

  .page-cockfighting__step-title,
  .page-cockfighting__promotion-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__content-image,
  .page-cockfighting__promotion-image,
  .page-cockfighting__content-image--large {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-cockfighting__image-block,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .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: 0px;
    padding-right: 0px;
    overflow: hidden !important;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}