/* style/cockfighting.css */

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

/* Base styles for the page content */
.page-cockfighting {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  color: var(--text-main-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

.page-cockfighting__text-block a {
  color: var(--glow-color);
  text-decoration: underline;
}

/* Buttons */
.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;
  cursor: pointer;
  text-align: center;
  white-space: nowrap; /* Prevent text wrapping by default */
  box-sizing: border-box;
}

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

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

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

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

.page-cockfighting__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-cockfighting__btn-large {
  padding: 15px 30px;
  font-size: 1.2em;
}

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

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles --header-offset */
  background-color: var(--deep-green-color);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -1px;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 60px 0;
  background-color: var(--page-bg-color);
}

.page-cockfighting__image-with-text {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__image-with-text .page-cockfighting__content-image {
  flex: 1 1 400px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  min-width: 200px; /* Minimum size requirement */
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__image-with-text .page-cockfighting__text-block {
  flex: 2 1 500px;
  color: var(--text-secondary-color);
}

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-cockfighting__feature-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%232AD16F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary-color);
}

.page-cockfighting__feature-list li strong {
  color: var(--text-main-color);
}

/* Types of Bets Section */
.page-cockfighting__types-of-bets-section {
  padding: 60px 0;
  background-color: var(--deep-green-color);
}

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

.page-cockfighting__bet-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  color: var(--text-secondary-color);
  font-size: 1em;
}

.page-cockfighting__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 20px;
  color: var(--text-secondary-color);
}

.page-cockfighting__guide-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-cockfighting__guide-list li strong {
  color: var(--text-main-color);
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 60px 0;
  background-color: var(--page-bg-color);
}

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

.page-cockfighting__feature-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  border: 1px solid var(--border-color);
}

.page-cockfighting__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto; /* Maintain aspect ratio */
  max-width: 250px; /* Example max width for icons if they are smaller */
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__feature-description {
  color: var(--text-secondary-color);
  font-size: 1em;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
  background-color: var(--deep-green-color);
}

.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(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  font-size: 3em;
  color: var(--gold-color);
  font-weight: bold;
  margin-bottom: 15px;
  border: 3px solid var(--glow-color);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(46, 122, 78, 0.2);
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-description {
  color: var(--text-secondary-color);
  font-size: 1em;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: var(--page-bg-color);
}

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

.page-cockfighting__promo-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  border: 1px solid var(--border-color);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum size requirement */
}

.page-cockfighting__promo-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-cockfighting__promo-description {
  color: var(--text-secondary-color);
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 60px 0;
  background-color: var(--deep-green-color);
}

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

.page-cockfighting__tips-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>') no-repeat left top;
  background-size: 20px;
  padding-left: 35px;
  margin-bottom: 25px;
  color: var(--text-secondary-color);
  font-size: 1.1em;
}

.page-cockfighting__tips-list li strong {
  color: var(--text-main-color);
  font-size: 1.2em;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--page-bg-color);
}

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

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

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary-color);
  border-top: 1px solid var(--divider-color);
  background-color: var(--card-bg-color);
}

.page-cockfighting__faq-answer a {
  color: var(--glow-color);
  text-decoration: underline;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  background-color: var(--deep-green-color);
  text-align: center;
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2em;
  color: var(--text-secondary-color);
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block a {
  color: var(--gold-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-cockfighting__description {
    font-size: 1.1em;
  }
  .page-cockfighting__bet-cards,
  .page-cockfighting__feature-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-cockfighting__description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-cockfighting__cta-buttons .page-cockfighting__btn-primary,
  .page-cockfighting__cta-buttons .page-cockfighting__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5em;
  }
  .page-cockfighting__text-block {
    font-size: 1em;
  }

  .page-cockfighting__image-with-text {
    flex-direction: column;
    gap: 30px;
  }
  .page-cockfighting__image-with-text .page-cockfighting__content-image {
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__feature-list li {
    font-size: 1em;
  }

  /* Image and Video responsiveness */
  .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__hero-image-wrapper,
  .page-cockfighting__promo-card,
  .page-cockfighting__feature-item,
  .page-cockfighting__step-card,
  .page-cockfighting__bet-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__promo-image {
    height: 200px; /* Adjust height for mobile */
  }

  .page-cockfighting__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
}