/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-primary-color: #11A84E;
  --page-cockfighting-secondary-color: #22C768;
  --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-background: #08160F;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border-color: #2E7A4E;
  --page-cockfighting-glow-color: #57E38D;
  --page-cockfighting-gold-color: #F2C14E;
  --page-cockfighting-divider-color: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-cockfighting-text-main);
  background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__section-title,
.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--page-cockfighting-text-main);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__section-description,
.page-cockfighting__hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  color: var(--page-cockfighting-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Backgrounds */
.page-cockfighting__dark-bg {
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__card-title,
.page-cockfighting__light-bg .page-cockfighting__game-title,
.page-cockfighting__light-bg .page-cockfighting__faq-qtext {
  color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__card-text,
.page-cockfighting__light-bg .page-cockfighting__game-text,
.page-cockfighting__light-bg .page-cockfighting__faq-answer p {
  color: #555555;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 40px; /* Space between image and content */
  border-radius: 10px;
}

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__main-title {
  margin-top: 0;
  margin-bottom: 20px;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

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

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--page-cockfighting-glow-color);
}

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

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

.page-cockfighting__btn-text {
  background: none;
  border: none;
  color: var(--page-cockfighting-primary-color);
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

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

/* Advantages Section */
.page-cockfighting__advantages-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__game-types-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-banner {
  padding: 80px 0;
}

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border-color);
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__light-bg .page-cockfighting__card-title {
  color: var(--page-cockfighting-primary-color);
}

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

/* How to Play Section */
.page-cockfighting__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__step-item {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--page-cockfighting-border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  width: 50px;
  height: 50px;
  background-color: var(--page-cockfighting-primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 10px var(--page-cockfighting-glow-color);
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-cockfighting-gold-color);
}

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

/* Game Types Section */
.page-cockfighting__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__game-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__game-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__game-text {
  font-size: 1em;
  color: #555555;
}

.page-cockfighting__center-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-cockfighting__promo-card {
  display: flex;
  flex-direction: column;
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--page-cockfighting-text-main);
  transition: transform 0.3s ease;
  border: 1px solid var(--page-cockfighting-border-color);
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__promo-text {
  font-size: 0.95em;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-cockfighting__promo-link {
  color: var(--page-cockfighting-primary-color);
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}

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

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

.page-cockfighting__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  overflow: hidden; /* For smooth transition on details */
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--page-cockfighting-primary-color);
  background-color: var(--page-cockfighting-primary-color);
  color: #ffffff;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question .page-cockfighting__faq-qtext {
  color: #ffffff;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question .page-cockfighting__faq-toggle {
  color: #ffffff;
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: #333333;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-cockfighting-primary-color);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
  border-top: none;
}

/* CTA Banner */
.page-cockfighting__cta-banner {
  text-align: center;
  padding: 100px 20px;
  background-color: var(--page-cockfighting-deep-green);
  border-radius: 15px;
  margin: 80px auto;
  max-width: 1200px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__banner-title {
  font-size: clamp(2em, 4vw, 3em);
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 20px;
}

.page-cockfighting__banner-description {
  font-size: clamp(1em, 2vw, 1.2em);
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image {
    height: 500px;
  }
}

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

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-image {
    height: 300px;
    margin-bottom: 30px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: clamp(0.9em, 3vw, 1.1em);
    margin-bottom: 30px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-cockfighting__advantages-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-banner {
    padding: 40px 0;
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-cockfighting__section-description {
    font-size: clamp(0.9em, 3vw, 1em);
    margin-bottom: 30px;
  }

  .page-cockfighting__grid-3-col,
  .page-cockfighting__steps-list,
  .page-cockfighting__grid-2-col,
  .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__game-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__game-image,
  .page-cockfighting__promo-image {
    height: 200px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__step-title,
  .page-cockfighting__game-title,
  .page-cockfighting__promo-title {
    font-size: 1.3em;
  }

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

  .page-cockfighting__faq-toggle {
    font-size: 1.5em;
  }

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

  .page-cockfighting__cta-banner {
    padding: 60px 15px;
    margin: 40px auto;
  }

  .page-cockfighting__banner-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
  }

  .page-cockfighting__banner-description {
    font-size: clamp(0.9em, 3vw, 1em);
  }

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

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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;
    overflow: hidden !important;
  }

  .page-cockfighting__cta-button,
  .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 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}