/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-bg: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-cockfighting {
  background-color: var(--page-cockfighting-bg);
  color: var(--page-cockfighting-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__section-title {
  font-size: 2.5rem;
  color: var(--page-cockfighting-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--page-cockfighting-gold);
  margin: 15px auto 0;
}

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

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

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

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-gold);
  color: var(--page-cockfighting-bg);
}

.page-cockfighting__btn-center {
  display: block;
  margin: 30px auto 0;
  max-width: 300px;
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--page-cockfighting-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 80px 0;
}

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

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

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

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

.page-cockfighting__feature-card.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--page-cockfighting-glow);
}

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

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

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

/* How To Play Section */
.page-cockfighting__how-to-play-section {
  padding: 80px 0;
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-cockfighting__step-item {
  background-color: var(--page-cockfighting-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  position: relative;
  padding-left: 80px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  background: var(--page-cockfighting-gold);
  color: var(--page-cockfighting-bg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}

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

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-bg);
}

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

.page-cockfighting__type-card.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Expert Tips Section */
.page-cockfighting__expert-tips-section {
  padding: 80px 0;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
}

.page-cockfighting__tip-item {
  background-color: var(--page-cockfighting-bg);
  border: 1px solid var(--page-cockfighting-divider);
  border-left: 5px solid var(--page-cockfighting-gold);
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__tip-item strong {
  color: var(--page-cockfighting-gold);
}

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

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

.page-cockfighting__promotion-card.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promotion-card .page-cockfighting__card-image {
  margin-bottom: 20px;
  max-height: 180px;
}

.page-cockfighting__promotion-card .page-cockfighting__btn-secondary {
  margin-top: 20px;
  width: 100%;
}

/* Payment & Support Section */
.page-cockfighting__payment-support-section {
  padding: 80px 0;
}

.page-cockfighting__payment-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.page-cockfighting__payment-info, .page-cockfighting__support-info {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__payment-info .page-cockfighting__section-title,
.page-cockfighting__support-info .page-cockfighting__section-title {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 25px;
}

.page-cockfighting__payment-info .page-cockfighting__section-title::after,
.page-cockfighting__support-info .page-cockfighting__section-title::after {
  margin-left: 0;
}

.page-cockfighting__payment-methods, .page-cockfighting__support-channels {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__payment-item, .page-cockfighting__support-item {
  background-color: var(--page-cockfighting-bg);
  border: 1px solid var(--page-cockfighting-divider);
  border-radius: 5px;
  padding: 12px 15px;
  margin-bottom: 10px;
  color: var(--page-cockfighting-text-secondary);
  display: flex;
  align-items: center;
}

.page-cockfighting__payment-item::before,
.page-cockfighting__support-item::before {
  content: '✓';
  color: var(--page-cockfighting-gold);
  margin-right: 10px;
  font-weight: bold;
}

.page-cockfighting__payment-info .page-cockfighting__btn-primary,
.page-cockfighting__support-info .page-cockfighting__btn-secondary {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

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

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  cursor: pointer;
  background-color: var(--page-cockfighting-deep-green);
  border-radius: 10px;
  user-select: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-gold);
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  background-color: var(--page-cockfighting-card-bg);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.page-cockfighting__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Image responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__btn-center {
    max-width: 100% !important;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__step-item {
    padding-left: 60px;
  }

  .page-cockfighting__step-item::before {
    left: 15px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

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

  .page-cockfighting__payment-support-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-cockfighting__payment-info .page-cockfighting__section-title,
  .page-cockfighting__support-info .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__payment-info,
  .page-cockfighting__support-info {
    padding: 30px;
  }

  /* Force image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure containers do not cause horizontal scroll */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__payment-support-section,
  .page-cockfighting__payment-info,
  .page-cockfighting__support-info,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure buttons wrap if in a group */
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}