/* style/cockfighting.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color-page: #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;
}

.page-cockfighting {
  background-color: var(--background-color-page);
  color: var(--text-main-color); /* Default text color for dark background */
  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: clamp(2em, 3.5vw, 3.2em);
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.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: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__link {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: 600;
}

.page-cockfighting__link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 4em);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-cockfighting__hero-description {
  font-size: 1.25em;
  color: var(--text-secondary-color);
  margin-bottom: 40px;
}

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

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

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: var(--text-secondary-color);
}

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

.page-cockfighting__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  display: block;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  padding: 80px 0;
  background-color: var(--background-color-page);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* How-To-Play Section */
.page-cockfighting__how-to-play-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
}

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

.page-cockfighting__step-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-icon {
  background: var(--button-gradient);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.5);
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 700;
}

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

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: 80px 0;
  background-color: var(--background-color-page);
}

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

.page-cockfighting__strategy-list li {
  color: var(--text-main-color);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-cockfighting__strategy-list li::before {
  content: '✓';
  color: var(--gold-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

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

.page-cockfighting__promo-card {
  background-color: var(--deep-green-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-cockfighting__view-all-promos {
  text-align: center;
}

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

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

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

.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;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  user-select: none;
  list-style: none; /* For details summary */
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary-color);
  border-top: 1px solid transparent; /* Prevents visual jump */
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
}

.page-cockfighting__advantages-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.page-cockfighting__advantages-list li {
  color: var(--text-main-color);
  font-size: 1.1em;
  position: relative;
  padding-left: 35px;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-icon {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-color);
  font-size: 1.5em;
}

.page-cockfighting__final-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-cockfighting__hero-section,
.page-cockfighting__introduction-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__why-choose-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting__cta-buttons,
.page-cockfighting__btn-container,
.page-cockfighting__button-group {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 15px;
    line-height: 1.5;
  }

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

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

  .page-cockfighting__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }

  .page-cockfighting__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;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__why-choose-section {
    padding: 50px 0;
  }

  .page-cockfighting__content-grid,
  .page-cockfighting__content-grid--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-cockfighting__card-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }

  .page-cockfighting__advantages-list {
    grid-template-columns: 1fr;
    margin: 30px auto;
    padding: 0 15px;
  }

  /* Force responsive for all images and videos */
  .page-cockfighting img,
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

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