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

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--dk88-text-main); /* Light text on dark body background */
  background-color: var(--dk88-background-color);
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--dk88-deep-green);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to bring content slightly over the image, but not *on* it */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, var(--dk88-background-color) 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--dk88-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: var(--dk88-text-main);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--dk88-button-gradient);
  color: var(--dk88-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--dk88-primary-color);
  color: var(--dk88-text-main);
  transform: translateY(-3px);
}

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

.page-cockfighting__dark-section {
  background-color: var(--dk88-deep-green);
  border-radius: 15px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--dk88-gold-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dk88-text-secondary);
  max-width: 800px;
  text-align: justify;
}

.page-cockfighting__text-block--small {
  font-size: 0.9rem;
  text-align: center;
  color: var(--dk88-text-secondary);
}

.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__image-content--right {
  align-self: flex-end;
}

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

.page-cockfighting__card {
  background-color: var(--dk88-card-bg);
  border: 1px solid var(--dk88-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-title {
  font-size: 1.4rem;
  color: var(--dk88-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-text {
  font-size: 0.95rem;
  color: var(--dk88-text-secondary);
  line-height: 1.6;
}

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

.page-cockfighting__step-item {
  background-color: var(--dk88-card-bg);
  border: 1px solid var(--dk88-border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-cockfighting__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dk88-button-gradient);
  color: var(--dk88-text-main);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.5);
  border: 3px solid var(--dk88-background-color);
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  color: var(--dk88-primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__step-text {
  font-size: 0.95rem;
  color: var(--dk88-text-secondary);
  line-height: 1.6;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-cockfighting__strategy-list li {
  background-color: var(--dk88-card-bg);
  border: 1px solid var(--dk88-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dk88-text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__strategy-list li strong {
  color: var(--dk88-gold-color);
  font-weight: bold;
}

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

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

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

.page-cockfighting__promo-title {
  font-size: 1.3rem;
  color: var(--dk88-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--dk88-primary-color);
  cursor: pointer;
  background-color: var(--dk88-card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
  background-color: var(--dk88-deep-green);
}

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

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

.page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dk88-text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    max-height: 600px;
  }

  .page-cockfighting__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

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

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }

  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__step-text,
  .page-cockfighting__strategy-list li,
  .page-cockfighting__promo-description,
  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

  .page-cockfighting__hero-content {
    margin-top: -50px;
    padding: 25px 15px;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0;
  }

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

  .page-cockfighting__hero-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 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__section {
    padding: 30px 15px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 25px;
  }

  .page-cockfighting__content-wrapper {
    gap: 20px;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__step-text,
  .page-cockfighting__strategy-list li,
  .page-cockfighting__promo-description,
  .page-cockfighting__faq-answer {
    font-size: 0.9rem;
    line-height: 1.6;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__content-wrapper,
  .page-cockfighting__grid-container,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promotion-grid,
  .page-cockfighting__faq-list {
    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__step-item {
    padding-top: 50px;
  }

  .page-cockfighting__step-number {
    top: -25px;
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }

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

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

  .page-cockfighting__dark-section {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
}