/* style/cockfighting.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212; /* From shared.css body background */
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  line-height: 1.6;
  padding-top: 120px; /* Adjust for fixed header */
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 100%);
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:hero:new88,đá gà,background,1920x1080]');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

.page-cockfighting__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-cockfighting__hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-cockfighting__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__cta-button--secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
}

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

.page-cockfighting__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-cockfighting__image-wrapper {
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

.page-cockfighting__btn-learn-more {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  white-space: nowrap;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__btn-learn-more:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

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

.page-cockfighting__advantage-card {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting__advantage-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__advantage-card p {
  font-size: 16px;
  color: var(--text-light);
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  padding: 80px 0;
}

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

.page-cockfighting__type-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

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

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

.page-cockfighting__type-card .page-cockfighting__card-title {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 20px;
  text-align: left;
}

.page-cockfighting__type-card p {
  font-size: 16px;
  color: var(--text-light);
  padding: 0 20px 20px;
  text-align: left;
}

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

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

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

.page-cockfighting__step-item {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  border: 1px solid var(--border-color-dark);
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 5px var(--primary-color);
}

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

.page-cockfighting__step-item p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__btn-small:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
}

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

.page-cockfighting__tip-card {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
}

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

.page-cockfighting__tip-card p {
  font-size: 16px;
  color: var(--text-light);
}

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

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color-dark);
  background-color: var(--card-bg-dark);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-dark);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: #fff;
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-light);
  background-color: rgba(0, 0, 0, 0.3);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 5px 5px;
}

.page-cockfighting__faq-answer p {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-light);
}

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

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

/* Final CTA Section */
.page-cockfighting__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__final-cta-section p {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

  .page-cockfighting__hero-subtitle {
    font-size: 18px;
  }

  .page-cockfighting__section-title {
    font-size: 32px;
  }

  .page-cockfighting__grid-layout {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-cockfighting__advantages-grid,
  .page-cockfighting__game-types-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__hero-section {
    padding: 60px 0;
    min-height: 400px;
  }

  .page-cockfighting__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__final-cta-section {
    padding: 60px 0;
  }

  .page-cockfighting__text-content p {
    font-size: 16px;
  }

  .page-cockfighting__btn-learn-more {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__advantage-card,
  .page-cockfighting__type-card,
  .page-cockfighting__step-item,
  .page-cockfighting__tip-card {
    padding: 25px;
  }

  .page-cockfighting__card-title {
    font-size: 20px;
  }

  .page-cockfighting__advantage-icon {
    width: 70px;
    height: 70px;
  }

  .page-cockfighting__type-image {
    height: 180px;
  }

  .page-cockfighting__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  .page-cockfighting__step-title {
    font-size: 20px;
  }

  .page-cockfighting__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px !important;
    font-size: 13px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__faq-question {
    padding: 15px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }

  .page-cockfighting__faq-answer p {
    font-size: 15px;
  }

  .page-cockfighting__final-cta-section p {
    font-size: 18px;
  }
}

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

  .page-cockfighting__section-title {
    font-size: 24px;
  }

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

  .page-cockfighting__advantages-grid,
  .page-cockfighting__game-types-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__tips-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__advantage-card,
  .page-cockfighting__type-card,
  .page-cockfighting__step-item,
  .page-cockfighting__tip-card {
    padding: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 18px;
  }

  .page-cockfighting__step-number {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 15px;
  }
}