/* style/cockfighting.css */

/* Variables */
:root {
  --page-cockfighting-primary-color: #1A2E47;
  --page-cockfighting-accent-color: #FFD700;
  --page-cockfighting-text-light: #ffffff;
  --page-cockfighting-text-dark: #333333;
  --page-cockfighting-bg-dark: #000;
  --page-cockfighting-bg-light-transparent: rgba(255, 255, 255, 0.05);
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-cockfighting-text-light); /* Dark body background, so light text */
  background-color: var(--page-cockfighting-bg-dark); /* Inherited from body, but ensure consistency */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--page-cockfighting-text-light);
  background-color: var(--page-cockfighting-primary-color);
}

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

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

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

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-cockfighting-accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__hero-cta {
  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: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: var(--page-cockfighting-accent-color);
  color: var(--page-cockfighting-primary-color); /* Gold background, dark text */
  border: 2px solid var(--page-cockfighting-accent-color);
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--page-cockfighting-accent-color);
  border: 2px solid var(--page-cockfighting-accent-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--page-cockfighting-accent-color);
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__btn-secondary--white {
  color: var(--page-cockfighting-text-light);
  border-color: var(--page-cockfighting-text-light);
}

.page-cockfighting__btn-secondary--white:hover {
  background-color: var(--page-cockfighting-text-light);
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  background-color: var(--page-cockfighting-accent-color);
  color: var(--page-cockfighting-primary-color);
  border: 1px solid var(--page-cockfighting-accent-color);
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-small:hover {
  background-color: #e6c200;
}

/* Section common styles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--page-cockfighting-accent-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-cockfighting-accent-color);
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  color: var(--page-cockfighting-text-light);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-cockfighting__text-block--tip {
  font-style: italic;
  color: #a0a0a0;
}

/* Intro Section */
.page-cockfighting__intro-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__promo-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-bg-dark);
}

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

.page-cockfighting__intro-item {
  background-color: var(--page-cockfighting-bg-light-transparent);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__intro-item:hover {
  transform: translateY(-10px);
}

.page-cockfighting__intro-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-cockfighting__intro-item-title {
  font-size: 1.5em;
  color: var(--page-cockfighting-accent-color);
  margin-bottom: 15px;
}

.page-cockfighting__intro-item-text {
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-cockfighting__video-cta {
  text-align: center;
  margin-top: 30px;
}

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

.page-cockfighting__bet-card {
  background-color: var(--page-cockfighting-bg-light-transparent);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__bet-card-title {
  font-size: 1.6em;
  color: var(--page-cockfighting-accent-color);
  margin-bottom: 15px;
}

.page-cockfighting__bet-card-text {
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
}

/* Arena Section */
.page-cockfighting__arena-section {
  padding: 80px 0;
}

.page-cockfighting__dark-bg {
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-light);
}

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

.page-cockfighting__arena-card {
  background-color: var(--page-cockfighting-bg-light-transparent);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__arena-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-cockfighting__arena-card-title {
  font-size: 1.5em;
  color: var(--page-cockfighting-accent-color);
  margin-bottom: 15px;
}

.page-cockfighting__arena-card-text {
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
}

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

.page-cockfighting__guide-step {
  background-color: var(--page-cockfighting-bg-light-transparent);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-cockfighting-text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__guide-icon {
  width: 60px;
  height: 60px;
  background-color: var(--page-cockfighting-accent-color);
  color: var(--page-cockfighting-primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__guide-title {
  font-size: 1.4em;
  color: var(--page-cockfighting-accent-color);
  margin-bottom: 15px;
}

.page-cockfighting__guide-text {
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-cockfighting__tips-item {
  background-color: var(--page-cockfighting-bg-light-transparent);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__tips-item-title {
  font-size: 1.3em;
  color: var(--page-cockfighting-accent-color);
  margin-bottom: 10px;
}

.page-cockfighting__tips-item-text {
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
}

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

.page-cockfighting__promo-card {
  background-color: var(--page-cockfighting-bg-light-transparent);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-cockfighting-text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-cockfighting__promo-card-title {
  font-size: 1.5em;
  color: var(--page-cockfighting-accent-color);
  margin-bottom: 15px;
}

.page-cockfighting__promo-card-text {
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Security Section */
.page-cockfighting__security-section {
  padding: 80px 0;
}

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

.page-cockfighting__feature-item {
  background-color: var(--page-cockfighting-bg-light-transparent);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  color: var(--page-cockfighting-accent-color);
  margin-bottom: 15px;
}

.page-cockfighting__feature-text {
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-bg-light-transparent);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-light);
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #0c1a2c; /* Slightly darker primary color */
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-accent-color);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate */
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: var(--page-cockfighting-bg-light-transparent);
  color: var(--page-cockfighting-text-light);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px !important;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  padding-top: 10px;
  color: var(--page-cockfighting-text-light);
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Global image styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none; /* Ensure no default borders */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }

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

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

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

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__hero-section {
    height: auto;
    min-height: 70vh;
    padding-bottom: 40px;
  }

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

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

  .page-cockfighting__hero-cta {
    flex-direction: column;
    gap: 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-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting__text-block {
    font-size: 1em;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__video-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__arena-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promo-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 40px 0;
  }

  .page-cockfighting__intro-grid,
  .page-cockfighting__bet-grid,
  .page-cockfighting__arena-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promo-grid,
  .page-cockfighting__security-features {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__video-wrapper {
    margin: 20px auto;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }

  /* Mobile specific image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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