/* style/cockfighting.css */

:root {
  --page-cockfighting-primary-color: #017439;
  --page-cockfighting-secondary-color: #FFFFFF;
  --page-cockfighting-text-color-dark: #333333;
  --page-cockfighting-text-color-light: #FFFFFF;
  --page-cockfighting-register-btn-bg: #C30808;
  --page-cockfighting-register-btn-text: #FFFF00;
  --page-cockfighting-login-btn-bg: #C30808; /* Not explicitly used, but defined for consistency */
  --page-cockfighting-login-btn-text: #FFFF00; /* Not explicitly used, but defined for consistency */
  --page-cockfighting-background-color: #FFFFFF;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-cockfighting-text-color-dark); /* Default text color for light background */
  background-color: var(--page-cockfighting-background-color);
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--page-cockfighting-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__link {
  color: var(--page-cockfighting-primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__link:hover {
  text-decoration: underline;
}

/* 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;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

.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: var(--page-cockfighting-text-color-light);
}

.page-cockfighting__btn-register {
  background-color: var(--page-cockfighting-register-btn-bg);
  color: var(--page-cockfighting-register-btn-text);
  border-color: var(--page-cockfighting-register-btn-bg);
}

.page-cockfighting__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__card-title,
.page-cockfighting__dark-bg .page-cockfighting__step-title,
.page-cockfighting__dark-bg .page-cockfighting__tip-title {
  color: var(--page-cockfighting-text-color-light);
}

.page-cockfighting__dark-bg .page-cockfighting__link {
  color: var(--page-cockfighting-register-btn-text); /* Yellow for contrast on dark green */
}

.page-cockfighting__light-bg {
  background-color: var(--page-cockfighting-background-color);
  color: var(--page-cockfighting-text-color-dark);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
  background-image: linear-gradient(rgba(1, 116, 57, 0.7), rgba(1, 116, 57, 0.7)); /* Overlay for image */
}

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

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

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-cockfighting-text-color-light);
  line-height: 1.2;
}

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

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

/* Intro Section */
.page-cockfighting__intro-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__tips-section,
.page-cockfighting__promotions-section,
.page-cockfighting__security-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
  padding: 80px 0;
}

.page-cockfighting__image-content {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  font-size: 1em;
  line-height: 1.7;
}

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

.page-cockfighting__type-card {
  background-color: var(--page-cockfighting-background-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

.page-cockfighting__type-card .page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin: 0 0 20px 0;
  border-radius: 0;
  box-shadow: none;
}

.page-cockfighting__type-card .page-cockfighting__card-title {
  color: var(--page-cockfighting-primary-color);
  margin-top: 0;
  padding: 0 15px;
}

.page-cockfighting__type-card .page-cockfighting__card-description {
  color: var(--page-cockfighting-text-color-dark);
  padding: 0 15px;
}

/* How-to-play Section */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: var(--page-cockfighting-text-color-light);
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--page-cockfighting-text-color-light);
}

/* Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tip-item {
  background-color: var(--page-cockfighting-background-color);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__tip-title {
  font-size: 1.6em;
  color: var(--page-cockfighting-primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__tip-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--page-cockfighting-text-color-dark);
}

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

.page-cockfighting__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin: 0 0 20px 0;
  border-radius: 0;
  box-shadow: none;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  color: var(--page-cockfighting-text-color-light);
  margin-top: 0;
  padding: 0 15px;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
  color: var(--page-cockfighting-text-color-light);
  padding: 0 15px;
}

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Security Section */
.page-cockfighting__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__security-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-cockfighting__security-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--page-cockfighting-primary-color);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-background-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-cockfighting-text-color-dark);
}

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

.page-cockfighting__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  text-align: center;
}

.page-cockfighting__final-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}