/* style/cockfighting.css */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --background-color: #0D0E12;
  --card-background-color: #17191F;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-cockfighting {
  color: var(--text-main-color); /* Body background is dark, so text is light */
  background-color: var(--background-color);
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 40px;
}

.page-cockfighting__hero-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-main-color);
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

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

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow-color);
}

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

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

.page-cockfighting__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  background: var(--button-gradient);
  color: #ffffff;
}

.page-cockfighting__btn-small:hover {
  opacity: 0.9;
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

.page-cockfighting__image-wrapper {
  margin: 40px auto;
  text-align: center;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

/* Sections */
.page-cockfighting__about-section,
.page-cockfighting__features-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
}

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

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

/* Feature Grid */
.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__feature-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

.page-cockfighting__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main-color);
}

/* Bet List */
.page-cockfighting__bet-list,
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-cockfighting__bet-item,
.page-cockfighting__strategy-item {
  background-color: var(--card-background-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__bet-item-title,
.page-cockfighting__strategy-item-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__bet-item-description,
.page-cockfighting__strategy-item-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main-color);
}

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

.page-cockfighting__step-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-cockfighting__step-card .page-cockfighting__card-title {
  color: var(--primary-color);
}

/* Promotions */
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__promo-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  background-color: var(--card-background-color);
  padding-bottom: 20px;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  padding: 0 20px;
  color: var(--primary-color);
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
  padding: 0 20px;
  margin-bottom: 20px;
}

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

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

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

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

.page-cockfighting__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

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

.page-cockfighting__faq-answer p {
  margin: 0;
}

.page-cockfighting a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-cockfighting a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px;
  }

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

  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    padding: 0 10px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .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;
    margin-bottom: 10px; /* Add margin for stacked buttons */
  }

  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

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

  .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__promo-card,
  .page-cockfighting__step-card,
  .page-cockfighting__feature-card,
  .page-cockfighting__bet-item,
  .page-cockfighting__strategy-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__features-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 60px 0;
  }

  .page-cockfighting__promo-image {
    height: auto; /* Allow height to adjust on mobile */
  }

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

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