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

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

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

.page-cockfighting__section {
  padding: 60px 0;
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px;
}

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

.page-cockfighting__hero-description {
  font-size: 1.25em;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting__btn-primary:hover {
  background-color: darken(var(--button-login), 10%);
  border-color: darken(var(--button-login), 10%);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--bg-dark);
}

/* About Intro Section */
.page-cockfighting__about-intro .page-cockfighting__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
}

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  color: var(--text-light);
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__feature-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-cockfighting__feature-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-cockfighting__type-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

.page-cockfighting__type-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* How To Play Section */
.page-cockfighting__how-to-play .page-cockfighting__section-description {
  color: var(--text-light);
}

.page-cockfighting__image-process {
  margin-bottom: 50px;
}

.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 8px;
  color: var(--text-light);
}

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

/* Promotions Section */
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  text-align: center;
}

.page-cockfighting__promo-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  display: inline-block;
  margin-right: 20px;
}

.page-cockfighting__promo-list li::before {
  content: '⭐';
  position: absolute;
  left: 0;
  top: 0;
}

/* FAQ Section */
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: var(--text-light);
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-light);
}

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

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

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--secondary-color);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.8);
}

/* Conclusion Section */
.page-cockfighting__conclusion .page-cockfighting__section-description {
  color: var(--text-dark);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-cockfighting__steps-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__section-description {
    font-size: 0.95em;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    margin-bottom: 10px;
  }
  .page-cockfighting__hero-content .page-cockfighting__btn-primary {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /* Image Responsive */
  .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__hero-image-wrapper,
  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__step-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__promo-list li {
    display: block;
    margin-right: 0;
    text-align: left;
  }

  /* Buttons in group */
  .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;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__hero-title {
    font-size: 1.7em;
  }
  .page-cockfighting__hero-description {
    font-size: 0.9em;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__type-title,
  .page-cockfighting__step-title {
    font-size: 1.2em;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    font-size: 0.9em;
    padding: 0 15px 15px;
  }
}