/* style/cockfighting.css */
.page-cockfighting {
  color: #ffffff; /* Text color for dark body background */
  background-color: #000;
}

.page-cockfighting__intro-section {
  padding-top: 120px; /* Space for fixed header on desktop */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #B22222, #801919);
  text-align: center;
}

@media (max-width: 768px) {
  .page-cockfighting__intro-section {
    padding-top: 100px; /* Space for fixed header on mobile */
    padding-bottom: 40px;
  }
}

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

.page-cockfighting__main-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-cockfighting__btn--primary {
  background: #FFD700;
  color: #B22222;
  border-color: #FFD700;
}

.page-cockfighting__btn--primary:hover {
  background: #B22222;
  color: #FFD700;
  border-color: #FFD700;
}

.page-cockfighting__btn--secondary {
  background: #B22222;
  color: #ffffff;
  border-color: #ffffff;
}

.page-cockfighting__btn--secondary:hover {
  background: #ffffff;
  color: #B22222;
  border-color: #B22222;
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__sub-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #B22222;
}

.page-cockfighting__explore-section,
.page-cockfighting__bonus-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__other-games-section,
.page-cockfighting__betting-tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__blog-section,
.page-cockfighting__final-cta-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-cockfighting__explore-section {
  background-color: #1a1a1a;
}

.page-cockfighting__bonus-section {
  background-color: #0d0d0d;
}

.page-cockfighting__why-choose-section {
  background-color: #1a1a1a;
}

.page-cockfighting__other-games-section {
  background-color: #0d0d0d;
}

.page-cockfighting__betting-tips-section {
  background-color: #1a1a1a;
}

.page-cockfighting__faq-section {
  background-color: #0d0d0d;
}

.page-cockfighting__blog-section {
  background-color: #1a1a1a;
}

.page-cockfighting__final-cta-section {
  background-color: #B22222;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-cockfighting__final-cta-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__final-cta-section .page-cockfighting__description {
  color: #f0f0f0;
}

.page-cockfighting__grid-item {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-cockfighting__grid-item--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__text-content {
  flex: 1;
}

.page-cockfighting__text-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-cockfighting__text-content .page-cockfighting__btn {
  margin-top: 20px;
  margin-right: 15px;
}

.page-cockfighting__list,
.page-cockfighting__list-ordered {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-cockfighting__list-ordered {
  list-style: decimal;
}

.page-cockfighting__list li,
.page-cockfighting__list-ordered li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-cockfighting__list li strong {
  color: #FFD700;
}

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

.page-cockfighting__advantage-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__advantage-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-cockfighting__advantage-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

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

.page-cockfighting__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-cockfighting__game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__game-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #FFD700;
  padding: 15px 10px;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #B22222;
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background: #801919;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Blog Section */
.page-cockfighting__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.page-cockfighting__blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.page-cockfighting__blog-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFD700;
  padding: 15px 20px 10px;
  margin: 0;
}

.page-cockfighting__blog-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #e0e0e0;
  padding: 0 20px 15px;
}

.page-cockfighting__blog-card-date {
  display: block;
  font-size: 14px;
  color: #999999;
  padding: 0 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 38px;
  }
  .page-cockfighting__section-title {
    font-size: 32px;
  }
  .page-cockfighting__sub-title {
    font-size: 22px;
  }
  .page-cockfighting__grid-item {
    flex-direction: column;
  }
  .page-cockfighting__grid-item--reverse {
    flex-direction: column;
  }
  .page-cockfighting__image-wrapper,
  .page-cockfighting__text-content {
    width: 100%;
    flex: none;
  }
  .page-cockfighting__image-wrapper img {
    height: 300px;
  }
}

@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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__intro-section {
    padding-top: 100px;
    padding-bottom: 30px;
  }
  .page-cockfighting__main-title {
    font-size: 32px;
  }
  .page-cockfighting__description {
    font-size: 16px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 20px;
  }
  .page-cockfighting__explore-section,
  .page-cockfighting__bonus-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__other-games-section,
  .page-cockfighting__betting-tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__blog-section,
  .page-cockfighting__final-cta-section {
    padding: 40px 0;
  }
  .page-cockfighting__image-wrapper img {
    height: 250px;
  }
  .page-cockfighting__advantage-card {
    padding: 20px;
  }
  .page-cockfighting__advantage-title {
    font-size: 20px;
  }
  .page-cockfighting__games-grid,
  .page-cockfighting__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__game-card img {
    height: 150px;
  }
  .page-cockfighting__game-card-title {
    font-size: 16px;
    padding: 10px;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
  .page-cockfighting__blog-card img {
    height: 180px;
  }
  .page-cockfighting__blog-card-title {
    font-size: 18px;
  }
  .page-cockfighting__blog-card-excerpt,
  .page-cockfighting__blog-card-date {
    font-size: 14px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__blog-card-date {
    padding-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 28px;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
  }
  .page-cockfighting__image-wrapper img {
    height: 200px;
  }
  .page-cockfighting__advantage-title {
    font-size: 18px;
  }
  .page-cockfighting__game-card img {
    height: 120px;
  }
  .page-cockfighting__game-card-title {
    font-size: 15px;
  }
}