/* style/cockfighting.css */

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

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

.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%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text);
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #0a0a0a; /* Ensure background matches body for seamless look */
}

.page-cockfighting__hero-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
}

.page-cockfighting__hero-content {
  flex: 1;
  text-align: left;
  padding: 40px 0;
}

.page-cockfighting__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__hero-video-wrapper {
  flex: 1;
  position: relative;
  padding-bottom: 30%; /* 16:9 Aspect Ratio (9/16 * 100) */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--light-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

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

.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: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}

.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);
  transform: translateY(-2px);
}

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--light-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
  width: 100%;
  max-width: 400px; /* Adjust as needed */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: var(--light-text);
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: var(--dark-background);
}

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

.page-cockfighting__type-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--light-text);
  transition: transform 0.3s ease;
}

.page-cockfighting__type-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__type-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-cockfighting__type-name {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-cockfighting__guide-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 80px; /* Space for step number */
}

.page-cockfighting__guide-item::before {
  counter-increment: guide-step;
  content: "Bước " counter(guide-step);
  position: absolute;
  left: 30px;
  top: 30px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

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

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

.page-cockfighting__guide-step-description a:hover {
  text-decoration: underline;
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding: 80px 0;
  background-color: var(--dark-background);
}

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

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

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

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

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

/* Mobile App Section */
.page-cockfighting__mobile-app-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-cockfighting__mobile-app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-cockfighting__mobile-app-content {
  flex: 1;
}

.page-cockfighting__app-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-cockfighting__app-features li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: var(--light-text);
  display: flex;
  align-items: center;
}

.page-cockfighting__app-features li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2em;
}

.page-cockfighting__mobile-app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-cockfighting__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.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); /* Change + to X or - */
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--light-text);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
}

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

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
}

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

.page-cockfighting__cta-final-content .page-cockfighting__section-title {
  margin-bottom: 25px;
}

.page-cockfighting__cta-final-content .page-cockfighting__section-intro {
  margin-bottom: 40px;
  font-size: 1.15em;
}

.page-cockfighting__cta-final-content .page-cockfighting__section-intro a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__cta-final-content .page-cockfighting__section-intro a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__hero-content {
    text-align: center;
    padding: 20px 0;
  }
  .page-cockfighting__hero-video-wrapper {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 for full width */
  }
  .page-cockfighting__mobile-app-flex {
    flex-direction: column-reverse;
  }
  .page-cockfighting__mobile-app-content {
    text-align: center;
  }
  .page-cockfighting__mobile-app-features {
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description,
  .page-cockfighting__section-intro {
    font-size: 1em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100%;
    max-width: 300px !important;
    padding: 12px 20px;
    font-size: 1em;
  }
}