/* style/cockfighting.css */

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

.page-cockfighting {
  background-color: var(--page-cockfighting-bg);
  color: var(--page-cockfighting-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 0; /* body already handles padding-top */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px 0;
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  color: var(--page-cockfighting-text-main);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 1px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  /* No fixed font-size for H1 */
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.page-cockfighting__btn-secondary {
  background: none;
  color: var(--page-cockfighting-glow);
  border: 2px solid var(--page-cockfighting-border);
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(var(--page-cockfighting-glow), 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__content-section {
  padding: 60px 0;
}

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

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

.page-cockfighting__section-title {
  color: var(--page-cockfighting-gold);
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__text-block h3 {
  color: var(--page-cockfighting-glow);
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__text-block p {
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
}

.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 40px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__image-center {
  display: block;
  margin: 0 auto 40px auto;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 30px;
  color: var(--page-cockfighting-text-main);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__card h3 {
  color: var(--page-cockfighting-glow);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-cockfighting__card p {
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__guide-list li {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  position: relative;
  padding-left: 70px;
}

.page-cockfighting__guide-list li h3 {
  color: var(--page-cockfighting-gold);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__guide-list li p {
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__guide-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 25px;
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-cockfighting__guide-list li a {
  color: var(--page-cockfighting-glow);
  text-decoration: underline;
}

.page-cockfighting__guide-list li a:hover {
  color: var(--page-cockfighting-gold);
}

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

.page-cockfighting__feature-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 30px;
  color: var(--page-cockfighting-text-main);
  text-align: center;
}

.page-cockfighting__feature-item h3 {
  color: var(--page-cockfighting-glow);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__promotions-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__promotions-list li {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
}

.page-cockfighting__promotions-list li h3 {
  color: var(--page-cockfighting-gold);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__promotions-list li p {
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__promotions-list li a {
  color: var(--page-cockfighting-glow);
  text-decoration: underline;
}

.page-cockfighting__promotions-list li a:hover {
  color: var(--page-cockfighting-gold);
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--page-cockfighting-text-main);
  font-weight: bold;
  font-size: 1.15em;
  background-color: var(--page-cockfighting-deep-green);
  border-bottom: 1px solid var(--page-cockfighting-divider);
  list-style: none;
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-cockfighting-gold);
  margin-left: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  color: var(--page-cockfighting-text-secondary);
  background-color: var(--page-cockfighting-card-bg);
  line-height: 1.7;
}

.page-cockfighting__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

.page-cockfighting__final-description {
  color: var(--page-cockfighting-text-secondary);
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-content {
    padding: 30px 20px 0;
  }
  .page-cockfighting__main-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }

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

  .page-cockfighting__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__content-section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-cockfighting__text-block h3 {
    font-size: 1.4em;
  }

  .page-cockfighting__grid-cards,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card,
  .page-cockfighting__feature-item,
  .page-cockfighting__guide-list li,
  .page-cockfighting__promotions-list li {
    padding: 20px;
  }

  .page-cockfighting__guide-list li::before {
    left: 15px;
    top: 20px;
  }

  .page-cockfighting__guide-list li h3 {
    font-size: 1.3em;
  }

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

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

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: none; /* Allow hero image to scale */
  }

  /* Content section padding for mobile to prevent overflow */
  .page-cockfighting__content-section,
  .page-cockfighting__cta-final {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}