/* style/cockfighting.css */

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

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

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

.page-cockfighting__section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-cockfighting__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
  line-height: 1.2;
}

.page-cockfighting__paragraph {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: var(--text-secondary-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  padding: 10px 0 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over the image slightly */
  background-color: rgba(17, 40, 27, 0.8);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-cockfighting__main-title {
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
  line-height: 1.2;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.page-cockfighting__intro-text {
  font-size: 1.15em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 200px;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  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-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main-color);
  transform: translateY(-3px);
}

/* Card Styles */
.page-cockfighting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-cockfighting__card-title,
.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__list-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

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

/* About Cockfighting Section */
.page-cockfighting__about-cockfighting {
  background-color: var(--background-color);
}

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

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  max-width: 1000px;
}

/* Bet Types Section */
.page-cockfighting__bet-types {
  background-color: var(--deep-green-color);
}

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

/* How To Play Section */
.page-cockfighting__how-to-play {
  background-color: var(--background-color);
}

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

.page-cockfighting__step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-cockfighting__step-number {
  font-size: 2.5em;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  background: rgba(34, 199, 104, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 800px;
  margin: 50px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  position: relative;
}

.page-cockfighting__video-link {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  cursor: pointer;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Strategies Section */
.page-cockfighting__strategies {
  background-color: var(--deep-green-color);
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Promotions Section */
.page-cockfighting__promotions {
  background-color: var(--background-color);
}

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

.page-cockfighting__promo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.page-cockfighting__promo-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--gold-color);
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__promo-link:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Security Section */
.page-cockfighting__security {
  background-color: var(--deep-green-color);
}

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

/* FAQ Section */
.page-cockfighting__faq {
  background-color: var(--background-color);
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 10px;
}

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

/* Conclusion Section */
.page-cockfighting__conclusion {
  padding: 100px 0;
  background-color: var(--deep-green-color);
}

.page-cockfighting__cta-block {
  max-width: 800px;
}

/* Image and Video Responsive Styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-cockfighting__video-section,
.page-cockfighting__video-container,
.page-cockfighting__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
  }

  .page-cockfighting__paragraph {
    font-size: 0.95em;
  }

  .page-cockfighting__section {
    padding: 60px 0;
  }

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

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

  .page-cockfighting__features-grid,
  .page-cockfighting__bet-options-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-list,
  .page-cockfighting__promo-cards-grid,
  .page-cockfighting__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-cockfighting__card,
  .page-cockfighting__list-item,
  .page-cockfighting__faq-item {
    padding: 25px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__step-title,
  .page-cockfighting__list-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-cockfighting__step-number {
    width: 50px;
    height: 50px;
    font-size: 2em;
  }

  .page-cockfighting__video-container {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting__content-image {
    margin-top: 30px;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !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__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

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

  .page-cockfighting__conclusion {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__intro-text {
    font-size: 0.9em;
  }
  .page-cockfighting__paragraph {
    font-size: 0.85em;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
  }
}