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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px;
  min-height: 500px;
  text-align: center;
  background-color: var(--deep-green-color, #0A4B2C);
  overflow: hidden;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main-color, #F2FFF6);
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--glow-color, #57E38D);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--glow-color, #57E38D);
  border: 2px solid var(--glow-color, #57E38D);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--glow-color, #57E38D);
  color: var(--background-color, #08160F);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section {
  padding: 60px 20px;
  overflow: hidden;
}

.page-cockfighting__introduction-section, .page-cockfighting__guide-section, .page-cockfighting__promotions-section, .page-cockfighting__faq-section {
  background-color: var(--background-color-light, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

.page-cockfighting__game-types-section, .page-cockfighting__tips-section, .page-cockfighting__safety-support-section, .page-cockfighting__conclusion-section {
  background-color: var(--card-bg-color, #11271B);
  color: var(--text-main-color, #F2FFF6);
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--glow-color, #57E38D);
}

.page-cockfighting__description-text {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-cockfighting__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__game-card, .page-cockfighting__promotion-card {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color, #F2FFF6);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-cockfighting__game-card:hover, .page-cockfighting__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 20px;
  color: var(--gold-color, #F2C14E);
}

.page-cockfighting__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 20px 20px;
  flex-grow: 1;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-cockfighting__step-item {
  background-color: var(--card-bg-color, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--glow-color, #57E38D);
}

.page-cockfighting__step-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 20px;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tips-list li {
  background-color: var(--card-bg-color, #11271B);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main-color, #F2FFF6);
  border-left: 5px solid var(--primary-color, #11A84E);
}

.page-cockfighting__tips-list li strong {
  color: var(--gold-color, #F2C14E);
}

.page-cockfighting__security-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-cockfighting__security-features li {
  background-color: var(--card-bg-color, #11271B);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary-color, #A7D9B8);
  border: 1px solid var(--border-color, #2E7A4E);
  text-align: center;
}

.page-cockfighting__security-features li strong {
  display: block;
  font-size: 1.2rem;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 10px;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg-color, #11271B);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  cursor: pointer;
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
}

.page-cockfighting__faq-question:hover {
  color: var(--glow-color, #57E38D);
}

.page-cockfighting__faq-question::marker, /* For Firefox */
.page-cockfighting__faq-question::-webkit-details-marker { /* For Chrome/Safari */
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
    min-height: 400px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-cockfighting__description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 25px;
  }
  .page-cockfighting__description-text, .page-cockfighting__text-block {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .page-cockfighting__game-cards, .page-cockfighting__promotion-cards, .page-cockfighting__guide-steps, .page-cockfighting__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card-image {
    height: 180px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3rem;
    padding: 15px;
  }
  .page-cockfighting__card-text {
    padding: 0 15px 15px;
  }
  .page-cockfighting__step-item {
    padding: 25px;
  }
  .page-cockfighting__step-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__tips-list li {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 15px 15px;
    font-size: 0.95rem;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__content-area,
  .page-cockfighting__section,
  .page-cockfighting__game-cards,
  .page-cockfighting__promotion-cards,
  .page-cockfighting__guide-steps,
  .page-cockfighting__security-features,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }
  .page-cockfighting__cta-center .page-cockfighting__cta-button {
    width: auto !important; /* Allow button to shrink if not full width */
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-cockfighting__cta-buttons {
    gap: 10px;
  }
  .page-cockfighting__cta-button {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}