/* style/cockfighting.css */

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

.page-cockfighting {
  background-color: var(--vg99-bg-dark);
  color: var(--vg99-text-main);
  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__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  position: relative; /* Ensure image is in normal flow */
  display: block;
  z-index: 1;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(8, 22, 15, 0.85); /* Slightly transparent dark background for readability */
  border-radius: 10px;
  margin-top: -100px; /* Overlap image slightly, but not on top of it */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-50%);
  margin-bottom: -50px;
}

.page-cockfighting__main-title {
  color: var(--vg99-gold-color);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px var(--vg99-glow-color);
}

.page-cockfighting__hero-description {
  color: var(--vg99-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: var(--vg99-button-gradient);
  color: var(--vg99-text-main);
  border: 2px solid var(--vg99-secondary-color);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--vg99-glow-color);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--vg99-secondary-color);
  color: var(--vg99-bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-full-width {
  width: 100%;
  max-width: 300px;
  margin-top: 30px;
}

.page-cockfighting__btn-huge {
  padding: 20px 40px;
  font-size: 1.3rem;
  max-width: 400px;
}

.page-cockfighting__btn-link {
  color: var(--vg99-gold-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
  transition: color 0.3s ease;
}

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

.page-cockfighting__section-title {
  color: var(--vg99-gold-color);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--vg99-bg-dark);
}

.page-cockfighting__betting-types-section,
.page-cockfighting__advantages-section,
.page-cockfighting__tips-section,
.page-cockfighting__call-to-action {
  padding: 60px 0;
  background-color: var(--vg99-deep-green);
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--vg99-text-secondary);
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-cockfighting__card,
.page-cockfighting__feature-card,
.page-cockfighting__promo-card {
  background-color: var(--vg99-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--vg99-border-color);
}

.page-cockfighting__card:hover,
.page-cockfighting__feature-card:hover,
.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 10px var(--vg99-glow-color);
}

.page-cockfighting__card-title,
.page-cockfighting__feature-title,
.page-cockfighting__promo-title {
  color: var(--vg99-text-main);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

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

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__list-item {
  background-color: var(--vg99-card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-left: 5px solid var(--vg99-primary-color);
}

.page-cockfighting__list-title {
  color: var(--vg99-gold-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-cockfighting__list-item p {
  color: var(--vg99-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px var(--vg99-glow-color));
}

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

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: var(--vg99-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 1px solid var(--vg99-border-color);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--vg99-text-main);
  font-size: 1.15rem;
  font-weight: 600;
  background-color: var(--vg99-deep-green);
  border-bottom: 1px solid var(--vg99-divider-color);
  transition: background-color 0.3s ease;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: var(--vg99-gold-color);
}

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

.page-cockfighting__faq-item details > summary {
  list-style: none;
}

.page-cockfighting__faq-item details > summary::-webkit-details-marker {
  display: none;
}

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

  .page-cockfighting__hero-content {
    padding: 30px 15px;
    margin-top: -80px; /* Adjust overlap for mobile */
    margin-bottom: -30px;
  }

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

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

  .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: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__btn-full-width,
  .page-cockfighting__btn-huge {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    margin-bottom: 20px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__call-to-action {
    padding: 40px 0;
  }

  .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__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__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__hero-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

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

  .page-cockfighting__card,
  .page-cockfighting__feature-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

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

  .page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-cockfighting__promo-image {
    height: 150px;
  }

  .page-cockfighting__guide-list {
    margin-top: 20px;
  }

  .page-cockfighting__list-item {
    padding: 20px;
  }

  .page-cockfighting__list-title {
    font-size: 1.2rem;
  }

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

  .page-cockfighting__faq-toggle {
    font-size: 1.3rem;
  }

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