.page-cockfighting {
  color: #ffffff; /* Body background is dark, so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #000; /* Ensuring main content area respects body background */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px; /* Adjust for fixed header on mobile */
  }
}

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

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 20px 15px;
  }
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #ffd700; /* Gold color for titles */
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
}

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

@media (max-width: 768px) {
  .page-cockfighting__sub-title {
    font-size: 20px;
  }
}

.page-cockfighting__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
  line-height: 1.8;
}

.page-cockfighting__text-block--centered {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-cockfighting__text-block {
    font-size: 16px;
  }
}

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

.page-cockfighting__btn--primary {
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #ffffff;
  border-color: #007bff;
}

.page-cockfighting__btn--primary:hover {
  background: linear-gradient(90deg, #0056b3, #003d80);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.page-cockfighting__btn--secondary {
  background: transparent;
  color: #ffd700;
  border-color: #ffd700;
  margin-left: 20px;
}

.page-cockfighting__btn--secondary:hover {
  background: #ffd700;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__btn--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  max-width: 300px;
}

.page-cockfighting__btn--large {
  padding: 18px 35px;
  font-size: 20px;
  max-width: 400px;
}

@media (max-width: 768px) {
  .page-cockfighting__btn {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-cockfighting__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-cockfighting__btn--large {
    font-size: 18px;
    padding: 15px 30px;
  }
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__hero-container {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for hero container */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__hero-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-cockfighting__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 900px;
}

.page-cockfighting__hero-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffd700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 22px;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 1024px) {
  .page-cockfighting__hero-container {
    height: 500px;
  }
  .page-cockfighting__hero-overlay {
    padding: 30px;
  }
  .page-cockfighting__hero-title {
    font-size: 44px;
  }
  .page-cockfighting__hero-description {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-container {
    height: 400px;
  }
  .page-cockfighting__hero-overlay {
    padding: 20px;
    max-width: 90%;
  }
  .page-cockfighting__hero-title {
    font-size: 32px;
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-cockfighting__btn--secondary {
    margin-left: 0;
  }
}

/* General Section Styles */
.page-cockfighting__dark-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-cockfighting__introduction-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #1a1a1a;
}

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

.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #f0f0f0;
}

.page-cockfighting__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffd700;
  padding: 20px 25px 10px;
  margin: 0;
}

.page-cockfighting__card-text {
  font-size: 16px;
  color: #e0e0e0;
  padding: 0 25px 25px;
  margin: 0;
}

@media (max-width: 768px) {
  .page-cockfighting__grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__card img {
    height: 200px;
  }
  .page-cockfighting__card-title {
    font-size: 20px;
    padding: 15px 20px 8px;
  }
  .page-cockfighting__card-text {
    font-size: 15px;
    padding: 0 20px 20px;
  }
}

/* Rules Section */
.page-cockfighting__rules-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: center;
}

.page-cockfighting__content-grid ul,
.page-cockfighting__content-grid ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-cockfighting__content-grid ul li,
.page-cockfighting__content-grid ol li {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 17px;
  border-left: 4px solid #007bff;
  color: #f0f0f0;
}

.page-cockfighting__content-grid ol li {
  border-left-color: #28a745;
}

.page-cockfighting__image-wrapper {
  text-align: center;
}

.page-cockfighting__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

@media (max-width: 1024px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-wrapper {
    order: -1; /* Image on top for smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__content-grid ul li,
  .page-cockfighting__content-grid ol li {
    font-size: 15px;
    padding: 12px 15px;
  }
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #1a1a1a;
}

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

.page-cockfighting__advantage-item {
  background: rgba(0, 123, 255, 0.15); /* Primary color background with transparency */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid #007bff;
}

.page-cockfighting__advantage-item:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 123, 255, 0.25);
}

.page-cockfighting__advantage-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow for icons */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 15px;
}

.page-cockfighting__advantage-text {
  font-size: 16px;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  .page-cockfighting__advantage-item {
    padding: 25px;
  }
  .page-cockfighting__advantage-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  .page-cockfighting__advantage-title {
    font-size: 20px;
  }
  .page-cockfighting__advantage-text {
    font-size: 15px;
  }
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-cockfighting__step-item {
  background: #222222; /* Darker background for steps */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
  position: relative;
  padding-top: 60px;
}

.page-cockfighting__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(45deg, #ffd700, #ffcc00);
  color: #000000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  border: 4px solid #000000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 15px;
  margin-top: 20px;
}

.page-cockfighting__step-text {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .page-cockfighting__step-item {
    padding: 25px;
    padding-top: 50px;
  }
  .page-cockfighting__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-cockfighting__step-title {
    font-size: 20px;
    margin-top: 15px;
  }
  .page-cockfighting__step-text {
    font-size: 15px;
  }
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #1a1a1a;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-cockfighting__faq-question:hover {
  background: #333333;
  color: #ffffff;
}

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

.page-cockfighting__faq-toggle {
  font-size: 30px;
  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 {
  transform: rotate(45deg); /* Change to X or rotate */
  color: #ffffff;
}

.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: #2a2a2a;
  color: #e0e0e0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
  .page-cockfighting__faq-answer p {
    font-size: 15px;
  }
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
  background-color: #0d0d0d;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #ffd700;
}

.page-cockfighting__cta-section .page-cockfighting__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-cockfighting__small-text {
  font-size: 15px;
  color: #cccccc;
  margin-top: 30px;
}

.page-cockfighting__contact-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__contact-link:hover {
  text-decoration: underline;
}

/* Image responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__section,
.page-cockfighting__card,
.page-cockfighting__container,
.page-cockfighting__image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}