/* style/cockfighting.css */

/* Base styles for page-cockfighting */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark background #1a1a2e, so light text */
  background-color: #1a1a2e; /* Inherited from shared.css, explicitly setting for clarity */
}

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

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-cockfighting__dark-section {
  background-color: #20203a;
  color: #ffffff;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-cockfighting__section-title,
.page-cockfighting__introduction-title,
.page-cockfighting__how-to-join-title,
.page-cockfighting__betting-strategies-title,
.page-cockfighting__features-title,
.page-cockfighting__promotions-title,
.page-cockfighting__responsible-gambling-title,
.page-cockfighting__faq-title,
.page-cockfighting__conclusion-title {
  text-align: center;
  color: #26A9E0;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-cockfighting__section-description,
.page-cockfighting__introduction-text,
.page-cockfighting__how-to-join-description,
.page-cockfighting__betting-strategies-description,
.page-cockfighting__features-description,
.page-cockfighting__promotions-description,
.page-cockfighting__responsible-gambling-description,
.page-cockfighting__conclusion-text {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__cta-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #1a1a2e;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

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

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 60px 20px;
  background-color: #1a1a2e;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

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

.page-cockfighting__intro-card {
  background-color: #20203a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__intro-card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-cockfighting__intro-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__intro-card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* How-To-Join Section Steps */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-cockfighting__step-item {
  background-color: #2c2c4a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-cockfighting__strategy-card {
  background-color: #20203a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__strategy-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-cockfighting__strategy-list {
  list-style-type: disc;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-cockfighting__strategy-list li {
  margin-bottom: 10px;
}

.page-cockfighting__strategy-list strong {
  color: #26A9E0;
}

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

.page-cockfighting__feature-item {
  background-color: #2c2c4a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-cockfighting__feature-item-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__feature-item-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-cockfighting__promo-card {
  background-color: #20203a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-cockfighting__promo-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__promo-card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Responsible Gambling Section */
.page-cockfighting__responsible-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.page-cockfighting__responsible-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-cockfighting__responsible-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-cockfighting__responsible-subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-cockfighting__responsible-paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: #20203a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #2c2c4a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question:hover {
  background-color: #3a3a5e;
}

.page-cockfighting__faq-question-text {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  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: 20px 25px;
}

.page-cockfighting__faq-answer-text {
  margin-bottom: 15px;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
}

/* Global image rules for content area to prevent small images */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__section-title,
  .page-cockfighting__introduction-title,
  .page-cockfighting__how-to-join-title,
  .page-cockfighting__betting-strategies-title,
  .page-cockfighting__features-title,
  .page-cockfighting__promotions-title,
  .page-cockfighting__responsible-gambling-title,
  .page-cockfighting__faq-title,
  .page-cockfighting__conclusion-title {
    font-size: 2em;
  }

  .page-cockfighting__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  .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 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__content-area,
  .page-cockfighting__dark-section,
  .page-cockfighting__video-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-cockfighting__intro-cards,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-cards,
  .page-cockfighting__feature-grid,
  .page-cockfighting__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__intro-card,
  .page-cockfighting__step-item,
  .page-cockfighting__strategy-card,
  .page-cockfighting__feature-item,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__responsible-content {
    flex-direction: column;
  }

  .page-cockfighting__responsible-text {
    text-align: center;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure minimum size is still met */
    min-height: 200px !important;
    display: block !important;
  }

  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title,
  .page-cockfighting__introduction-title,
  .page-cockfighting__how-to-join-title,
  .page-cockfighting__betting-strategies-title,
  .page-cockfighting__features-title,
  .page-cockfighting__promotions-title,
  .page-cockfighting__responsible-gambling-title,
  .page-cockfighting__faq-title,
  .page-cockfighting__conclusion-title {
    font-size: 1.8em;
  }
}