/* style/cockfighting.css */

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

.page-cockfighting {
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main); /* 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;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--page-cockfighting-background);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Ensure it doesn't exceed common large screen width */
  margin-bottom: 30px; /* Space between image and text */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  filter: none;
}

.page-cockfighting__hero-content {
  max-width: 800px;
  padding: 0 20px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  /* No fixed font-size, rely on clamp if needed, otherwise default browser H1 */
}

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

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

.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: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__btn-text-link {
  color: var(--page-cockfighting-gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-cockfighting__btn-text-link:hover {
  color: var(--page-cockfighting-glow);
}

/* Section Styling */
.page-cockfighting__introduction-section,
.page-cockfighting__betting-types,
.page-cockfighting__tips-section,
.page-cockfighting__mobile-experience,
.page-cockfighting__faq-section {
  background-color: var(--page-cockfighting-background);
  padding: 80px 0;
}

.page-cockfighting__why-choose-us,
.page-cockfighting__getting-started,
.page-cockfighting__promotions-section,
.page-cockfighting__security-section,
.page-cockfighting__cta-bottom {
  background-color: var(--page-cockfighting-card-bg); /* Lighter background for contrast */
  color: var(--page-cockfighting-text-main);
  padding: 80px 0;
}

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

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

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
  filter: none; /* Ensure no filter is applied */
}

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

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

.page-cockfighting__feature-icon {
  width: 100%; /* Ensure large images, not icons */
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  filter: none; /* Ensure no filter is applied */
}

.page-cockfighting__card-title,
.page-cockfighting__item-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card-text,
.page-cockfighting__item-description {
  font-size: 1em;
  color: var(--page-cockfighting-text-secondary);
  text-align: justify;
}

/* Lists */
.page-cockfighting__betting-list,
.page-cockfighting__steps-list,
.page-cockfighting__promo-list,
.page-cockfighting__mobile-features {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__list-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 5px solid var(--page-cockfighting-glow);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__list-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__list-description {
  font-size: 1em;
  color: var(--page-cockfighting-text-secondary);
  text-align: justify;
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-divider);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--page-cockfighting-deep-green);
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px;
  }

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

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em); /* Use clamp for H1 */
    margin-bottom: 15px;
  }

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

  .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;
    font-size: 1em;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__why-choose-us,
  .page-cockfighting__betting-types,
  .page-cockfighting__getting-started,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__mobile-experience,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__list-description,
  .page-cockfighting__card-text,
  .page-cockfighting__item-description,
  .page-cockfighting__faq-answer p {
    font-size: 0.95em;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__tip-card,
  .page-cockfighting__feature-item,
  .page-cockfighting__list-item {
    padding: 20px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__item-title,
  .page-cockfighting__list-title {
    font-size: 1.3em;
  }

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

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

  /* Image/Video Responsive Rules */
  .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-section,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__hero-content,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__features-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__security-features,
  .page-cockfighting__betting-list,
  .page-cockfighting__steps-list,
  .page-cockfighting__promo-list,
  .page-cockfighting__mobile-features,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Special handling for sections that might have padding */
  .page-cockfighting__introduction-section .page-cockfighting__container,
  .page-cockfighting__why-choose-us .page-cockfighting__container,
  .page-cockfighting__betting-types .page-cockfighting__container,
  .page-cockfighting__getting-started .page-cockfighting__container,
  .page-cockfighting__tips-section .page-cockfighting__container,
  .page-cockfighting__promotions-section .page-cockfighting__container,
  .page-cockfighting__mobile-experience .page-cockfighting__container,
  .page-cockfighting__security-section .page-cockfighting__container,
  .page-cockfighting__faq-section .page-cockfighting__container,
  .page-cockfighting__cta-bottom .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Hero section top padding, body handles --header-offset */
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
}