/* style/cockfighting.css */

/* Base styles for the page content */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000 (dark), so text should be light */
  background-color: #000; /* Ensure main content background is dark to match body */
}

/* Fixed header offset - apply to the first content section or main container */
/* Assuming shared.css does NOT set padding-top on body, so this page needs to */
.page-cockfighting__hero-section {
  padding-top: var(--header-offset, 120px);
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Lighter text for description on dark background */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #000; /* Dark background for hero */
  color: #ffffff;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

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

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

/* General Content Sections */
.page-cockfighting__about-cockfighting,
.page-cockfighting__why-s666,
.page-cockfighting__betting-types,
.page-cockfighting__download-guide,
.page-cockfighting__betting-tips,
.page-cockfighting__promotions,
.page-cockfighting__security,
.page-cockfighting__faq,
.page-cockfighting__final-cta {
  padding: 80px 0;
}

.page-cockfighting__dark-section {
  background-color: #011a0c;
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #ffffff;
}
.page-cockfighting__dark-section .page-cockfighting__section-description {
  color: #f0f0f0;
}
.page-cockfighting__dark-section p {
    color: #f0f0f0;
}

.page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__image-block {
  flex: 1;
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__image--centered {
    margin: 40px auto 0 auto;
}

/* Features Grid (Why s666) */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card {
  background-color: #012a14;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-cockfighting__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-cockfighting__bet-card {
  background-color: #012a14;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-align: center;
}

.page-cockfighting__bet-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-cockfighting__bet-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-cockfighting__step-item {
  background-color: #012a14;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-align: center;
  position: relative;
}

.page-cockfighting__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #017439;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  color: #ffffff;
  margin: -55px auto 20px auto; /* Position above the card */
  border: 3px solid #000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.page-cockfighting__step-item:first-child .page-cockfighting__step-number {
    margin-top: 0;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Betting Tips */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tips-item {
  background-color: #012a14;
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__tips-title {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-cockfighting__tips-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-cockfighting__promo-card {
  background-color: #012a14;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-cockfighting__promo-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security */
.page-cockfighting__security-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__security-item {
  background-color: #012a14;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-cockfighting__security-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-cockfighting__security-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-cockfighting__security-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: #012a14;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  list-style: none;
  color: #ffffff;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: #017439;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

/* Final CTA */
.page-cockfighting__cta-content {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-description {
    font-size: 1em;
  }

  .page-cockfighting__content-grid {
    flex-direction: column;
  }

  /* Images responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsiveness - if any */
  .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__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Ensure content containers also adapt */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__promo-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__bet-cards,
  .page-cockfighting__guide-steps,
  .page-cockfighting__security-info,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-cockfighting__step-number {
      margin: -40px auto 20px auto;
  }
  .page-cockfighting__step-item:first-child .page-cockfighting__step-number {
      margin-top: 0;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__bet-cards,
.page-cockfighting__guide-steps,
  .page-cockfighting__promo-grid,
  .page-cockfighting__security-info {
    grid-template-columns: repeat(2, 1fr);
  }
}