.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 15px;
  box-sizing: border-box;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F;
}

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

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

.page-cockfighting__main-title {
  color: #F2C14E; /* Gold */
  font-size: clamp(2em, 5vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2E7A4E; /* Border */
  color: #FFFFFF;
}

.page-cockfighting__section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-cockfighting__dark-bg {
  background-color: #11271B; /* Card B G */
}

.page-cockfighting__medium-bg {
  background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__section-title {
  color: #F2C14E; /* Gold */
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-cockfighting__subtitle {
  color: #57E38D; /* Glow */
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-cockfighting__text-block a {
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__text-block a:hover {
  text-decoration: underline;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__card {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

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

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

.page-cockfighting__game-item {
  text-align: center;
}

.page-cockfighting__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__game-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-cockfighting__game-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

.page-cockfighting__step-list,
.page-cockfighting__tip-list,
.page-cockfighting__promo-list,
.page-cockfighting__security-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-cockfighting__list-item {
  background-color: #11271B; /* Card B G */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__list-item strong {
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__list-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-cockfighting__list-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card B G */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #A7D9B8;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1em;
  list-style: none;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #57E38D;
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-content {
    padding: 0 10px;
  }

  .page-cockfighting__main-title {
    font-size: 2em;
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-cockfighting__section {
    padding: 40px 0;
  }

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

  .page-cockfighting__subtitle {
    font-size: 1.5em;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__game-description,
  .page-cockfighting__list-description,
  .page-cockfighting__faq-answer p {
    font-size: 0.95em;
  }

  .page-cockfighting__image {
    margin: 30px auto;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__game-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-cockfighting__game-title {
    font-size: 1.4em;
  }

  .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__about-rs88,
  .page-cockfighting__why-rs88,
  .page-cockfighting__game-types,
  .page-cockfighting__registration-guide,
  .page-cockfighting__betting-tips,
  .page-cockfighting__promotions,
  .page-cockfighting__security-info,
  .page-cockfighting__faq,
  .page-cockfighting__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }
}

/* Ensure content area images maintain min size, but are responsive */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-cockfighting img {
    min-width: unset !important; /* Allow images to shrink below 200px on mobile for full responsiveness */
    min-height: unset !important;
  }
}