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

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__dark-section {
  background-color: #0A2463;
  color: #ffffff;
}

.page-cockfighting__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-cockfighting__section-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-cockfighting__section-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__intro-text {
  font-size: 1.4em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-3px);
}

.page-cockfighting__about-cockfighting-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-cockfighting__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-cockfighting__text-block p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-cockfighting__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

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

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-cockfighting__poker-connection-section {
  background-color: #121212;
  color: #ffffff;
}

.page-cockfighting__poker-offer-section {
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-cockfighting__poker-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

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

.page-cockfighting__poker-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__poker-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-cockfighting__poker-title a:hover {
  text-decoration: underline;
}

.page-cockfighting__poker-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

.page-cockfighting__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-cockfighting__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__promotion-title {
  font-size: 1.5em;
  margin: 20px 20px 10px;
}

.page-cockfighting__promotion-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-cockfighting__promotion-title a:hover {
  text-decoration: underline;
}

.page-cockfighting__promotion-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin: 0 20px 20px;
}

.page-cockfighting__promotion-card .page-cockfighting__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

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

.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD700;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  line-height: 1.6;
  font-size: 1em;
}

.page-cockfighting__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-cockfighting__cta-bottom-section {
  padding: 80px 0;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    height: 500px;
  }
  .page-cockfighting__main-title {
    font-size: 3em;
  }
  .page-cockfighting__intro-text {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2.5em;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-wrapper {
    order: -1; /* Image appears above text on smaller screens for reverse grid */
    margin-bottom: 30px;
  }
  .page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-cockfighting__poker-cards-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    height: auto;
    min-height: 400px;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensures content is below fixed header */
  }
  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-cockfighting__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__poker-card,
  .page-cockfighting__promotion-card,
  .page-cockfighting__faq-item,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
  .page-cockfighting__content-grid--reverse .page-cockfighting__image-wrapper {
    order: -1;
  }
  .page-cockfighting__feature-icon {
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-cockfighting__poker-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-cockfighting__promotion-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}