/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button highlight */
  border: 2px solid #2AD16F; /* Button highlight */
}

.page-cockfighting__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F; /* Background */
  transform: translateY(-3px);
}

/* Section Titles */
.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2AD16F; /* Button highlight */
  border-radius: 2px;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #2AD16F; /* Button highlight */
  margin-bottom: 20px;
}

/* Text Blocks */
.page-cockfighting__text-block {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__intro-section,
.page-cockfighting__game-rules-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
}

.page-cockfighting__dark-section {
  background-color: #11271B; /* Card BG */
  padding: 80px 0;
}

/* Features Grid */
.page-cockfighting__features-grid,
.page-cockfighting__promo-cards-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-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__promo-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__feature-icon,
.page-cockfighting__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Game Rules Section */
.page-cockfighting__content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-content,
.page-cockfighting__image-content {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-cockfighting__list,
.page-cockfighting__numbered-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__list-item {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-cockfighting__list-item::before {
  content: '✓';
  color: #2AD16F; /* Button highlight */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  color: #F2C14E; /* Gold */
  font-weight: bold;
  left: 0;
}

/* Strategy Section */
.page-cockfighting__strategy-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-cockfighting__strategy-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__strategy-card .page-cockfighting__card-title {
  color: #F2C14E; /* Gold */
}

.page-cockfighting__view-all-button {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Security Section */
.page-cockfighting__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__security-list .page-cockfighting__list-item {
  padding-left: 35px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
}

.page-cockfighting__security-list .page-cockfighting__list-item::before {
  content: '🔒';
  left: 0;
  font-size: 1.3rem;
  top: -2px;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid #1E3A2A;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Gold */
}

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
}

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

/* Final CTA Section */
.page-cockfighting__cta-final {
  text-align: center;
  padding: 100px 0;
}

.page-cockfighting__cta-final .page-cockfighting__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__promo-cards-grid,
  .page-cockfighting__strategy-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-cockfighting__main-title {
    margin-bottom: 15px;
  }

  .page-cockfighting__tagline {
    margin-bottom: 30px;
  }

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

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

  .page-cockfighting__intro-section,
  .page-cockfighting__game-rules-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__dark-section,
  .page-cockfighting__cta-final {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    margin-bottom: 30px;
  }

  .page-cockfighting__content-grid {
    flex-direction: column;
  }

  .page-cockfighting__text-content,
  .page-cockfighting__image-content {
    width: 100%;
    min-width: unset;
  }

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

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

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

  /* Mobile image and container responsiveness */
  .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-image-wrapper,
  .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; /* body already has padding-top */
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 2rem;
  }

  .page-cockfighting__tagline {
    font-size: 0.95rem;
  }

  .page-cockfighting__section-title {
    font-size: 1.6rem;
  }

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

  .page-cockfighting__text-block,
  .page-cockfighting__list-item,
  .page-cockfighting__card-text {
    font-size: 0.95rem;
  }
}