.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0; /* Ensures no double padding with body offset */
  padding-bottom: 40px;
  background: linear-gradient(135deg, #1a1a2e, #26A9E0);
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.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;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
  background-color: #d46c00;
  border-color: #d46c00;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #1f8ec7;
  border-color: #1f8ec7;
  transform: translateY(-2px);
}

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

.page-cockfighting__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-cockfighting__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #EA7C07;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-cockfighting__text-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-cockfighting__text-block strong {
  color: #26A9E0;
}

.page-cockfighting__text-block a {
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
}

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

.page-cockfighting__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-cockfighting__content-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-layout:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.page-cockfighting__content-text,
.page-cockfighting__content-image {
  flex: 1;
}

.page-cockfighting__content-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

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

.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff; /* Ensure light text on card background */
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background: #f8f8f8;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__feature-title,
.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__promotion-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__promo-note {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__promo-note {
  color: #555555;
}

.page-cockfighting__logo-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
  padding: 20px 0;
  background-color: #f0f0f0;
  border-radius: 10px;
}

.page-cockfighting__logo-item {
  width: 80px;
  height: 80px;
  max-width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 50%;
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page-cockfighting__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__faq-item {
  background: #f0f0f0;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #26A9E0;
  position: relative;
  list-style: none;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #555555;
}

.page-cockfighting__cta-section {
  padding: 80px 20px;
  background: linear-gradient(90deg, #1a1a2e, #26A9E0);
  text-align: center;
}

.page-cockfighting__cta-content {
  max-width: 800px;
}

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

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

  .page-cockfighting__intro-text {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .page-cockfighting__section {
    padding: 50px 20px;
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
  }

  .page-cockfighting__sub-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__content-layout {
    flex-direction: column;
  }

  .page-cockfighting__content-layout:nth-of-type(odd) {
    flex-direction: column;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-cockfighting__card {
    padding: 25px;
  }

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

  .page-cockfighting__logo-carousel {
    gap: 30px;
  }

  .page-cockfighting__faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 18px;
  }

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

@media (max-width: 768px) {
  /* LOGO 轮播区域 */
  .page-cockfighting__logo-carousel-section {
    padding: 10px 15px 20px;
  }
  .page-cockfighting__logo-carousel {
    gap: 20px;
    padding: 15px 0;
  }
  .page-cockfighting__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    box-sizing: border-box;
  }

  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding-top: 0 !important;
    padding-bottom: 20px;
  }
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 15px;
    border-radius: 0; /* Full width on mobile */
  }
  .page-cockfighting__hero-image {
    border-radius: 0;
  }
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-cockfighting__intro-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  /* 游戏展示区域 (Content Layout) */
  .page-cockfighting__content-layout {
    flex-direction: column;
    gap: 20px;
  }
  .page-cockfighting__content-layout:nth-of-type(odd) {
    flex-direction: column;
  }
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__content-image img {
    border-radius: 8px;
  }

  /* 通用图片与容器 */
  .page-cockfighting img:not(.page-cockfighting__logo-item) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__container,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .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: 12px 15px;
    font-size: 0.9rem;
  }

  /* 其他内容模块 (Features, Promotions, FAQ) */
  .page-cockfighting__features-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card {
    padding: 20px;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__card-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__text-block p,
  .page-cockfighting__ordered-list li,
  .page-cockfighting__unordered-list li {
    font-size: 0.95rem;
  }
  .page-cockfighting__faq-question {
    font-size: 0.95rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    font-size: 0.9rem;
    padding: 0 20px 15px;
  }
  .page-cockfighting__cta-section {
    padding: 50px 15px;
  }
  .page-cockfighting__promo-note {
    font-size: 0.9rem;
  }
}