/* style/cockfighting.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-login-color: #EA7C07;
  --background-color: #FFFFFF;
}

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

.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%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(135deg, var(--primary-color), #1a7bb0);
  color: var(--text-color-light);
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: var(--button-login-color); /* Login color for primary action */
  color: var(--text-color-light);
  border: 2px solid var(--button-login-color);
}

.page-cockfighting__btn-primary:hover {
  background-color: #e06c00;
  border-color: #e06c00;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--text-color-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-small:hover {
  background-color: #1a7bb0;
  border-color: #1a7bb0;
  transform: translateY(-1px);
}

/* General Section Styles */
.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__cta-bottom,
.page-cockfighting__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__features-section,
.page-cockfighting__types-section,
.page-cockfighting__security-section {
  padding: 80px 0;
  text-align: center;
  color: var(--text-color-light);
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: inherit;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Feature Grid */
.page-cockfighting__feature-grid,
.page-cockfighting__type-grid,
.page-cockfighting__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-color-light);
}

.page-cockfighting__light-bg .page-cockfighting__feature-card,
.page-cockfighting__light-bg .page-cockfighting__type-card,
.page-cockfighting__light-bg .page-cockfighting__security-item {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__feature-image,
.page-cockfighting__type-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__security-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

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

.page-cockfighting__card-description {
  font-size: 1em;
  color: inherit;
}

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

.page-cockfighting__step-item {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-cockfighting__step-description {
  margin-bottom: 20px;
}

/* Promotions Section */
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-cockfighting__promo-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__cta-center {
  margin-top: 40px;
}

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

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

.page-cockfighting__faq-item summary {
  list-style: none;
}

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

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

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

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

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-color-dark);
  line-height: 1.6;
}

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

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

@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__main-title {
    font-size: 2.2em;
  }

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__cta-bottom,
  .page-cockfighting__faq-section,
  .page-cockfighting__features-section,
  .page-cockfighting__types-section,
  .page-cockfighting__security-section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__type-grid,
  .page-cockfighting__security-grid,
  .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__security-item,
  .page-cockfighting__step-item {
    padding: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }

  .page-cockfighting__promo-item,
  .page-cockfighting__faq-question {
    font-size: 1em;
  }

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

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }

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