.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px 0;
  background-color: var(--bg-color);
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Adjust to bring content slightly over image bottom */
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(50px); /* Lift content slightly */
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__dark-bg {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-cockfighting__light-bg {
  background-color: #0A2016;
  color: var(--text-main);
}

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

.page-cockfighting__text-block {
  font-size: 1.05rem;
  margin-bottom: 30px;
  text-align: justify;
  color: var(--text-secondary);
}

.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__feature-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border);
}

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

.page-cockfighting__feature-title {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

.page-cockfighting__advantage-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.page-cockfighting__advantage-title {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__advantage-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

.page-cockfighting__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.page-cockfighting__guide-item {
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.page-cockfighting__guide-title {
  font-size: 1.5rem;
  color: var(--glow);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__guide-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-cockfighting__promotion-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.page-cockfighting__promotion-item {
  margin-bottom: 10px;
}

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

.page-cockfighting__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  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;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--divider);
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

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

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

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

/* Ensure all images are responsive */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all buttons are responsive */
.page-cockfighting__cta-button, 
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
    transform: translateY(40px);
  }
}

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

  .page-cockfighting__hero-content {
    margin-top: -60px;
    transform: translateY(30px);
    padding: 15px;
    max-width: 90%;
  }

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

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

  .page-cockfighting__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-cockfighting__content-area {
    padding: 40px 15px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }

  .page-cockfighting__feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-cockfighting__advantage-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__advantage-title,
  .page-cockfighting__guide-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__feature-description,
  .page-cockfighting__advantage-description,
  .page-cockfighting__guide-description,
  .page-cockfighting__promotion-item,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
  }
  
  /* Mobile specific image, video, button responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-cockfighting__cta-button,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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__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;
  }

  .page-cockfighting__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Fixes */
.page-cockfighting p,
.page-cockfighting li,
.page-cockfighting__hero-description,
.page-cockfighting__feature-description,
.page-cockfighting__advantage-description,
.page-cockfighting__guide-description,
.page-cockfighting__faq-answer {
  color: var(--text-secondary); /* Ensure text contrast */
}

.page-cockfighting__main-title,
.page-cockfighting__section-title,
.page-cockfighting__feature-title,
.page-cockfighting__advantage-title,
.page-cockfighting__guide-title,
.page-cockfighting__faq-question {
  color: var(--gold); /* Use gold for titles */
}

.page-cockfighting__cta-button {
  color: #ffffff; /* Always white text on button gradient */
}

.page-cockfighting__faq-toggle {
  color: var(--glow);
}

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