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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  background-color: var(--background, #08160F);
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  color: var(--text-main, #F2FFF6);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-cockfighting__description {
  color: var(--text-secondary, #A7D9B8);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 800px;
  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: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow, #57E38D);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  color: var(--glow, #57E38D);
}

.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding */
  background-color: var(--background, #08160F);
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__video-link-wrapper {
  display: block;
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-cockfighting__section-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__text-main {
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
}

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

.page-cockfighting__dark-section {
  background-color: var(--card-bg, #11271B);
}

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

.page-cockfighting__grid-item {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.page-cockfighting__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
  min-height: 200px;
}

.page-cockfighting__how-to-play-section {
  padding: 60px 20px;
  background-color: var(--background, #08160F);
}

.page-cockfighting__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__step-card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__game-types-section {
  padding: 60px 20px;
}

.page-cockfighting__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__game-type-card {
  background-color: var(--background, #08160F);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__benefits-section {
  padding: 60px 20px;
  background-color: var(--background, #08160F);
}

.page-cockfighting__benefits-list {
  max-width: 1000px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__benefit-item {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
}

.page-cockfighting__strategy-section {
  padding: 60px 20px;
}

.page-cockfighting__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__strategy-card {
  background-color: var(--background, #08160F);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__faq-section {
  padding: 60px 20px;
  background-color: var(--background, #08160F);
}

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

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

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

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

.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 20px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
  line-height: 1.7;
  border-top: none;
}

.page-cockfighting__conclusion-section {
  padding: 60px 20px;
  text-align: center;
}

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

  .page-cockfighting__hero-content {
    margin-top: 0;
    padding-top: 20px;
  }

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

  .page-cockfighting__description {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }

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

  .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__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-cockfighting__text-main {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__video-section,
  .page-cockfighting__content-area,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 30px 15px !important;
  }

  .page-cockfighting__grid-item,
  .page-cockfighting__step-card,
  .page-cockfighting__game-type-card,
  .page-cockfighting__benefit-item,
  .page-cockfighting__strategy-card {
    padding: 20px;
  }

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

  .page-cockfighting__text-secondary {
    font-size: 0.95rem;
  }

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

  .page-cockfighting__video-container,
  .page-cockfighting__video-link-wrapper,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

/* Ensure images in content areas don't go below 200px */
.page-cockfighting__grid-item .page-cockfighting__image,
.page-cockfighting__game-type-card .page-cockfighting__image,
.page-cockfighting__strategy-card .page-cockfighting__image {
  min-width: 200px;
  min-height: 200px;
}