/* style/cockfighting-betting.css */

/* Custom CSS Variables from provided color scheme */
:root {
  --main-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #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 - dark background, light text for content */
.page-cockfighting-betting {
  font-family: 'Arial', sans-serif;
  color: var(--text-secondary-color); /* Default light text on dark body */
  background-color: var(--background-color); /* Default dark background from shared.css */
  line-height: 1.6;
  font-size: 16px;
}

.page-cockfighting-betting__dark-section {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

.page-cockfighting-betting__section {
  padding: 80px 0;
  text-align: center;
}

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

.page-cockfighting-betting__main-title,
.page-cockfighting-betting__section-title {
  color: var(--gold-color); /* Gold for titles */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting-betting__hero-description,
.page-cockfighting-betting__text-block,
.page-cockfighting-betting__feature-description,
.page-cockfighting-betting__step-description,
.page-cockfighting-betting__card-description,
.page-cockfighting-betting__faq-answer p,
.page-cockfighting-betting__tip-item,
.page-cockfighting-betting__faq-answer {
  color: var(--text-secondary-color); /* Secondary light text */
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.page-cockfighting-betting__text-block strong {
  color: var(--text-main-color);
}

/* Hero Section */
.page-cockfighting-betting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 80px;
  min-height: 600px; /* Ensure content is visible */
  color: var(--text-main-color);
}

.page-cockfighting-betting__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Desktop width */
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting-betting__video-link {
  display: block;
  width: 100%;
  height: 100%;
}

.page-cockfighting-betting__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
  display: block;
  cursor: pointer;
}

.page-cockfighting-betting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

/* Buttons */
.page-cockfighting-betting__btn-primary,
.page-cockfighting-betting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-cockfighting-betting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
}

.page-cockfighting-betting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting-betting__btn-secondary {
  background: transparent;
  color: var(--main-color);
  border: 2px solid var(--border-color);
}

.page-cockfighting-betting__btn-secondary:hover {
  background: var(--main-color);
  color: var(--text-main-color);
  transform: translateY(-2px);
}

.page-cockfighting-betting__cta-single {
  margin-top: 40px;
}

/* Feature List */
.page-cockfighting-betting__feature-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-cockfighting-betting__feature-item {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-secondary-color);
}

.page-cockfighting-betting__feature-title {
  color: var(--text-main-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Steps List */
.page-cockfighting-betting__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 40px 0;
  text-align: left;
}

.page-cockfighting-betting__step-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-cockfighting-betting__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--main-color);
  color: var(--text-main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.page-cockfighting-betting__step-title {
  color: var(--text-main-color);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* Tips List */
.page-cockfighting-betting__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  text-align: left;
}

.page-cockfighting-betting__tip-item {
  background-color: var(--background-color);
  border-left: 4px solid var(--main-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: var(--text-secondary-color);
}

.page-cockfighting-betting__tip-item strong {
  color: var(--text-main-color);
}

/* Image styles */
.page-cockfighting-betting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
}

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

.page-cockfighting-betting__card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-secondary-color);
}

.page-cockfighting-betting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-cockfighting-betting__card-title {
  color: var(--text-main-color);
  font-size: 1.3rem;
  margin: 20px 20px 10px;
}

.page-cockfighting-betting__card-description {
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-cockfighting-betting__card .page-cockfighting-betting__btn-secondary {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* FAQ Section */
.page-cockfighting-betting__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting-betting__faq-item {
  background-color: var(--background-color);
  border: 1px solid var(--divider-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting-betting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
  font-weight: 600;
  font-size: 1.2rem;
  user-select: none;
}

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

.page-cockfighting-betting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting-betting__faq-answer {
  padding: 20px;
  background-color: var(--background-color);
  color: var(--text-secondary-color);
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting-betting__faq-answer p {
  margin-bottom: 0;
}

/* Footer CTA */
.page-cockfighting-betting__final-cta .page-cockfighting-betting__cta-buttons {
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting-betting__hero-section {
    min-height: 500px;
  }
  .page-cockfighting-betting__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-cockfighting-betting__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting-betting__section {
    padding: 60px 0;
  }
  .page-cockfighting-betting__hero-section {
    padding-bottom: 60px;
  }
  .page-cockfighting-betting__hero-content {
    padding: 15px;
  }
  .page-cockfighting-betting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-cockfighting-betting__hero-description,
  .page-cockfighting-betting__text-block,
  .page-cockfighting-betting__feature-description,
  .page-cockfighting-betting__step-description,
  .page-cockfighting-betting__card-description,
  .page-cockfighting-betting__faq-answer p,
  .page-cockfighting-betting__tip-item {
    font-size: 1rem;
  }

  /* Mobile specific image/video/button handling */
  .page-cockfighting-betting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-betting video,
  .page-cockfighting-betting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-betting__section,
  .page-cockfighting-betting__card,
  .page-cockfighting-betting__container,
  .page-cockfighting-betting__video-section,
  .page-cockfighting-betting__video-container,
  .page-cockfighting-betting__video-wrapper,
  .page-cockfighting-betting__cta-buttons,
  .page-cockfighting-betting__button-group,
  .page-cockfighting-betting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting-betting__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
  .page-cockfighting-betting__cta-button,
  .page-cockfighting-betting__btn-primary,
  .page-cockfighting-betting__btn-secondary,
  .page-cockfighting-betting a[class*="button"],
  .page-cockfighting-betting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }
  .page-cockfighting-betting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 0; /* Remove gap if stacking */
  }
  .page-cockfighting-betting__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-betting__card .page-cockfighting-betting__btn-secondary {
    width: calc(100% - 40px); /* Adjust for card padding: 20px left + 20px right */
  }
}