/* Base Styles & Typography */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #FFB04A; /* Gold gradient start */
  line-height: 1.2;
}

.page-cockfighting__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF1E8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #7E0D0D 0%, #140C0C 100%); /* Deep Red to Background */
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  z-index: 2;
}

.page-cockfighting__main-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__intro-text {
  font-size: 20px;
  color: #FFF1E8;
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold border */
}

.page-cockfighting__btn-secondary:hover {
  background: #F3C54D;
  color: #140C0C;
  transform: translateY(-3px);
}

/* About Section */
.page-cockfighting__about-section {
  padding: 60px 0;
}

.page-cockfighting__dark-section {
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
}

.page-cockfighting__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__content-wrapper p {
  font-size: 17px;
  color: #FFF1E8;
}

.page-cockfighting__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-cockfighting__advantages-list li {
  font-size: 17px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  color: #FFF1E8;
}

.page-cockfighting__list-icon {
  color: #F3C54D; /* Gold */
  font-weight: bold;
  margin-right: 10px;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  padding: 60px 0;
}

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

.page-cockfighting__game-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #6A1E1E; /* Border */
  color: #FFF1E8;
}

.page-cockfighting__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-cockfighting__game-card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: #F3C54D; /* Gold */
}

.page-cockfighting__game-card-description {
  font-size: 16px;
  padding: 0 15px 20px;
  color: #FFF1E8;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
}

.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-cockfighting__steps-list li {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF1E8;
}

.page-cockfighting__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFB04A; /* Gold gradient start */
  margin-bottom: 10px;
}

.page-cockfighting__steps-list li p {
  font-size: 17px;
  color: #FFF1E8;
}

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

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 60px 0;
}

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

.page-cockfighting__tip-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #6A1E1E; /* Border */
  color: #FFF1E8;
}

.page-cockfighting__tip-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__tip-card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: #F3C54D; /* Gold */
}

.page-cockfighting__tip-card-description {
  font-size: 16px;
  padding: 0 15px 20px;
  color: #FFF1E8;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
}

.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-cockfighting__promo-list li {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  color: #FFF1E8;
}

.page-cockfighting__promo-list li strong {
  color: #FFB04A; /* Gold gradient start */
}

/* Safety Section */
.page-cockfighting__safety-section {
  padding: 60px 0;
}

.page-cockfighting__safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-cockfighting__feature-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #FFF1E8;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  font-size: 16px;
  color: #FFF1E8;
}

.page-cockfighting__disclaimer-text {
  font-size: 15px;
  text-align: center;
  margin-top: 40px;
  color: #FFF1E8;
  opacity: 0.8;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFB04A; /* Gold gradient start */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2); /* Slightly darker background for answer */
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  color: #FFF1E8;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
  margin: 0;
}

/* Bottom CTA Section */
.page-cockfighting__cta-bottom-section {
  padding: 60px 0 80px;
  text-align: center;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__container {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  padding: 40px;
  border: 1px solid #6A1E1E; /* Border */
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-cockfighting__hero-section {
    padding-bottom: 30px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(28px, 6vw, 48px);
  }
  .page-cockfighting__intro-text {
    font-size: 18px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-cockfighting__section-title {
    font-size: 30px;
  }
  .page-cockfighting__section-description {
    font-size: 16px;
  }
  .page-cockfighting__game-card-title,
  .page-cockfighting__tip-card-title,
  .page-cockfighting__feature-title {
    font-size: 20px;
  }
  .page-cockfighting__game-card-description,
  .page-cockfighting__tip-card-description,
  .page-cockfighting__feature-description {
    font-size: 15px;
  }
  .page-cockfighting__steps-list li p,
  .page-cockfighting__promo-list li {
    font-size: 15px;
  }
  .page-cockfighting__step-title {
    font-size: 22px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    font-size: 15px;
  }
}

/* No specific 3-column layout for min-width 1024px as this is not the homepage game trial */
@media (min-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    max-width: 1200px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__hero-section {
    padding-top: 5px;
    padding-bottom: 20px;
  }
  .page-cockfighting__hero-content {
    padding: 20px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(24px, 8vw, 36px);
    margin-bottom: 15px;
  }
  .page-cockfighting__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
  }

  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-cockfighting__about-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding: 40px 0;
  }
  .page-cockfighting__content-wrapper p,
  .page-cockfighting__advantages-list li,
  .page-cockfighting__game-card-description,
  .page-cockfighting__tip-card-description,
  .page-cockfighting__feature-description,
  .page-cockfighting__disclaimer-text,
  .page-cockfighting__steps-list li p,
  .page-cockfighting__promo-list li {
    font-size: 15px !important;
  }
  .page-cockfighting__game-card-image,
  .page-cockfighting__tip-card-image {
    height: 180px;
  }
  .page-cockfighting__game-card-title,
  .page-cockfighting__tip-card-title,
  .page-cockfighting__feature-title {
    font-size: 19px;
  }
  .page-cockfighting__step-title {
    font-size: 20px;
  }
  .page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
  }
  /* FAQ specific */
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 15px; }
  .page-cockfighting__faq-toggle { font-size: 24px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  /* General image and container rules for mobile */
  .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__content-wrapper,
  .page-cockfighting__game-types-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__safety-features,
  .page-cockfighting__faq-list,
  .page-cockfighting__promo-list,
  .page-cockfighting__steps-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-cockfighting__game-types-grid, .page-cockfighting__tips-grid, .page-cockfighting__safety-features {
    gap: 20px;
  }
}