/* style/cockfighting.css */

/* Custom Fonts (Example - adjust as needed) */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Oswald:wght@500&display=swap'); */

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

.page-cockfighting {
  font-family: 'Roboto', sans-serif;
  color: var(--text-main); /* Default text color for the page, based on dark body background */
  background-color: var(--bg-dark-primary); /* Consistent with body background */
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  position: relative;
  /* Ensure image is above text in DOM, so no position absolute for text */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh; /* Limit height for hero image */
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative; /* Not absolute, for image-above-text constraint */
  z-index: 2;
  max-width: 900px;
  margin-top: 40px; /* Spacing below the image */
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.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-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 2px 10px rgba(34, 199, 104, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--bg-dark-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-cockfighting__section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__game-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__security-section,
.page-cockfighting__promotions-section,
.page-cockfighting__support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting__introduction-section.page-cockfighting__dark-section,
.page-cockfighting__guide-section.page-cockfighting__dark-section,
.page-cockfighting__security-section.page-cockfighting__dark-section,
.page-cockfighting__support-section.page-cockfighting__dark-section,
.page-cockfighting__conclusion-section.page-cockfighting__dark-section {
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-cockfighting__features-grid,
.page-cockfighting__type-cards,
.page-cockfighting__steps-grid,
.page-cockfighting__strategy-grid,
.page-cockfighting__security-grid,
.page-cockfighting__promo-cards,
.page-cockfighting__contact-methods {
  display: grid;
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-cockfighting__type-cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-cockfighting__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-cockfighting__strategy-grid,
.page-cockfighting__security-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-cockfighting__promo-cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-cockfighting__contact-methods {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-cockfighting__card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__feature-icon,
.page-cockfighting__type-image,
.page-cockfighting__step-image,
.page-cockfighting__security-icon,
.page-cockfighting__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure content images are not too small */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.page-cockfighting__feature-title,
.page-cockfighting__type-title,
.page-cockfighting__step-title,
.page-cockfighting__security-title,
.page-cockfighting__promo-title,
.page-cockfighting__strategy-title,
.page-cockfighting__contact-title {
  font-size: 1.6rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.page-cockfighting__feature-description,
.page-cockfighting__type-description,
.page-cockfighting__step-description,
.page-cockfighting__security-description,
.page-cockfighting__promo-description,
.page-cockfighting__strategy-description,
.page-cockfighting__contact-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

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

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-cockfighting__faq-item {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: var(--text-main);
}

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--deep-green);
  color: var(--gold-color);
  border-bottom: 1px solid var(--border-color);
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 20px 30px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: justify;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
}

.page-cockfighting__faq-answer .page-cockfighting__btn-secondary {
  margin-top: 15px;
  display: inline-block;
  padding: 10px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 4rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 7vw, 3.5rem);
  }
  .page-cockfighting__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__security-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__support-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 50px 0;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__type-cards,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__security-grid,
  .page-cockfighting__promo-cards,
  .page-cockfighting__contact-methods {
    margin-top: 30px;
    gap: 20px;
  }
  .page-cockfighting__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-cockfighting__feature-icon,
  .page-cockfighting__type-image,
  .page-cockfighting__step-image,
  .page-cockfighting__security-icon,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}