/* style/cockfighting.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-background: #0a0a0a;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --button-login-color: #EA7C07;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--light-text-color); /* Body background is dark, so text is light */
  background-color: var(--dark-background);
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  text-align: center;
  padding: 60px 0;
  background-color: var(--primary-color);
  overflow: hidden;
  color: var(--light-text-color);
}

.page-cockfighting__hero-section .page-cockfighting__container {
    z-index: 1;
    position: relative;
}

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

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.6;
  color: var(--secondary-color);
}

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

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

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

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

.page-cockfighting__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-cockfighting__image-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.page-cockfighting__image-text-grid-image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__text-block {
  flex: 1;
  min-width: 300px;
}

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

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

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--light-text-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-cockfighting__card--transparent {
  background-color: transparent;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-cockfighting__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-cockfighting__list-ordered {
  list-style: decimal inside;
  margin-left: 20px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  object-fit: cover;
}

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

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

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

.page-cockfighting__faq-section {
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: var(--dark-text-color);
}

.page-cockfighting__faq-section .page-cockfighting__section-text {
    color: var(--dark-text-color);
}

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

.page-cockfighting__faq-item {
  background-color: #f8f8f8;
  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: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: var(--dark-text-color);
  background-color: var(--secondary-color);
  border-bottom: 1px solid #e0e0e0;
}

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

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--dark-text-color);
  background-color: #f8f8f8;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: none;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  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;
}

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

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

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

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

.page-cockfighting__btn-centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 250px;
}

.page-cockfighting__btn-large {
    font-size: 1.2em;
    padding: 18px 35px;
    min-width: 200px;
}

.page-cockfighting__text-centered {
  text-align: center;
}

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

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__text-block-title {
    color: var(--primary-color);
}

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

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

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__text-block-title {
    color: var(--dark-text-color);
}

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

.page-cockfighting a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-cockfighting a:hover {
    text-decoration: underline;
}

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

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific offset */
  }

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

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

  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-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__section {
    padding: 50px 0;
  }

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

  .page-cockfighting__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-cockfighting__image-text-grid {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }

  .page-cockfighting__image-text-grid-image,
  .page-cockfighting__text-block {
    min-width: unset;
    width: 100%;
  }

  .page-cockfighting__grid-two-cols,
  .page-cockfighting__grid-three-cols,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-cockfighting__card {
    padding: 25px;
  }

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

  .page-cockfighting__feature-title {
    font-size: 1.2em;
  }

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

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }

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

  /* Ensure all images are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers with images/content are responsive */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific padding for content sections on mobile to prevent overflow */
  .page-cockfighting__intro-section .page-cockfighting__container,
  .page-cockfighting__rules-types-section .page-cockfighting__container,
  .page-cockfighting__betting-guide-section .page-cockfighting__container,
  .page-cockfighting__strategy-section .page-cockfighting__container,
  .page-cockfighting__platform-section .page-cockfighting__container,
  .page-cockfighting__responsible-gambling-section .page-cockfighting__container,
  .page-cockfighting__faq-section .page-cockfighting__container,
  .page-cockfighting__cta-final-section .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

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

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

  .page-cockfighting__btn-large {
    font-size: 1em;
    padding: 15px 25px;
  }
}