/* style/cockfighting.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #FFFFFF;
  --bg-dark: #26A9E0;
  --btn-login: #EA7C07;
}

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

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 40px 0; /* body padding-top handles header offset */
  background-color: var(--bg-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 30px 20px 0;
  margin-top: 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

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

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

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

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

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

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

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

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

.page-cockfighting__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--primary-color);
}

.page-cockfighting__btn-small:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  margin-top: 40px;
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-cockfighting__features-section .page-cockfighting__section-title {
  color: var(--text-light);
}

.page-cockfighting__features-section .page-cockfighting__text-block {
  color: var(--text-light);
}

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

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

.page-cockfighting__feature-icon {
  width: 100%;
  max-width: 250px; /* Adjusted from 100px to meet min size */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

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

.page-cockfighting__feature-description {
  font-size: 1em;
  line-height: 1.5;
  color: var(--text-light);
}

/* Match Schedule Section */
.page-cockfighting__match-schedule-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-cockfighting__match-card {
  background-color: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

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

.page-cockfighting__match-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__match-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__match-details {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 15px;
}

.page-cockfighting__match-description {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-cockfighting__guide-step {
  background-color: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__guide-step-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* App Download Section */
.page-cockfighting__app-download-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-cockfighting__app-download-section .page-cockfighting__section-title {
  color: var(--text-light);
}

.page-cockfighting__app-download-section .page-cockfighting__text-block {
  color: var(--text-light);
}

.page-cockfighting__app-content {
  text-align: left;
}

.page-cockfighting__app-image-wrapper {
  text-align: center;
}

.page-cockfighting__app-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-cockfighting__faq-item {
  background-color: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  user-select: none;
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question .page-cockfighting__faq-toggle {
  color: var(--text-light);
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-item:not([open]) .page-cockfighting__faq-toggle {
  content: '+';
}

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

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

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-cockfighting__cta-final-content {
  max-width: 800px;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: var(--text-light);
}

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
  color: var(--text-light);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-cockfighting__app-download-section .page-cockfighting__container {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
  }

  .page-cockfighting__app-image-wrapper {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .page-cockfighting__app-content {
    flex: 1;
  }

  .page-cockfighting__app-download-section.page-cockfighting__dark-bg .page-cockfighting__container {
    flex-direction: row;
  }

  .page-cockfighting__match-card {
    flex-direction: row;
  }

  .page-cockfighting__match-image {
    width: 250px;
    height: auto;
    flex-shrink: 0;
  }
}

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

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small {
    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,
  .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;
  }

  .page-cockfighting__hero-image,
  .page-cockfighting__feature-icon,
  .page-cockfighting__match-image,
  .page-cockfighting__app-image,
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__feature-card,
  .page-cockfighting__match-card,
  .page-cockfighting__guide-step,
  .page-cockfighting__app-download-section .page-cockfighting__container,
  .page-cockfighting__faq-item,
  .page-cockfighting__section,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__match-card {
    flex-direction: column;
  }

  .page-cockfighting__match-image {
    height: auto;
  }

  .page-cockfighting__app-download-section .page-cockfighting__container {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__app-image-wrapper {
    order: -1; /* Image above text */
    margin-bottom: 20px;
  }

  .page-cockfighting__app-content {
    text-align: center;
  }
}