/* style/cockfighting.css */

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

.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--page-cockfighting-text-main); /* Default text color for dark background */
  background-color: var(--page-cockfighting-background); /* Default background color */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background: var(--page-cockfighting-deep-green);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image for visual flow */
  background: linear-gradient(0deg, var(--page-cockfighting-background) 0%, rgba(8, 22, 15, 0.8) 70%, rgba(8, 22, 15, 0.5) 100%);
  border-radius: 10px;
  padding-top: 120px;
  padding-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__main-title {
  font-weight: bold;
  color: var(--page-cockfighting-gold);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--page-cockfighting-glow);
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--page-cockfighting-glow);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--page-cockfighting-glow);
  border-color: var(--page-cockfighting-glow);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-glow);
  color: var(--page-cockfighting-background);
  transform: translateY(-2px);
}

.page-cockfighting__btn-inline {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  background: var(--page-cockfighting-deep-green);
  color: var(--page-cockfighting-text-main);
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-cockfighting__btn-inline:hover {
  background-color: var(--page-cockfighting-primary-color);
}

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-cockfighting-gold);
  line-height: 1.3;
}

.page-cockfighting__dark-section, .page-cockfighting__dark-bg {
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main);
  padding: 80px 0;
}

.page-cockfighting__light-bg {
  background-color: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-text-main);
  padding: 80px 0;
}

.page-cockfighting__paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting a {
  color: var(--page-cockfighting-glow);
  text-decoration: none;
}

.page-cockfighting a:hover {
  text-decoration: underline;
}

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

.page-cockfighting__feature-card, .page-cockfighting__promo-card {
  background: var(--page-cockfighting-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-cockfighting-border);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__feature-card:hover, .page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-cockfighting__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
}

/* List Styles */
.page-cockfighting__list,
.page-cockfighting__safety-list,
.page-cockfighting__app-benefits-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-cockfighting__list-item {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: var(--page-cockfighting-glow);
}

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

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

.page-cockfighting__step-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
}

/* Download App Section */
.page-cockfighting__download-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-cockfighting__download-app-text {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__download-app-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-cockfighting__app-mockup {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  background-color: var(--page-cockfighting-deep-green);
  border-bottom: 1px solid var(--page-cockfighting-divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker { /* For Webkit browsers */
  display: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: var(--page-cockfighting-primary-color);
  border-bottom-color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-question:hover {
  background-color: var(--page-cockfighting-primary-color);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  margin-left: 20px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-answer {
  padding: 20px 30px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--page-cockfighting-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding-top: 100px;
  }
  .page-cockfighting__main-title {
    font-size: 2.8rem;
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-cockfighting__main-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-cockfighting__dark-section, .page-cockfighting__dark-bg,
  .page-cockfighting__light-bg {
    padding: 50px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__card-image {
    height: auto; /* Allow height to adjust */
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__step-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card, .page-cockfighting__promo-card,
  .page-cockfighting__step-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__step-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__download-app-content {
    flex-direction: column;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 1rem;
  }

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