/* style/cockfighting.css */
/* body đã padding-top: var(--header-offset)；tránh trùng lặp */

:root {
  --page-cockfighting-primary-color: #11A84E;
  --page-cockfighting-secondary-color: #22C768;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-bg-dark: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-border-color: #2E7A4E;
  --page-cockfighting-glow-color: #57E38D;
  --page-cockfighting-gold-color: #F2C14E;
  --page-cockfighting-divider-color: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--page-cockfighting-text-main); /* Text Main for overall page content */
  background-color: var(--page-cockfighting-bg-dark); /* Background color */
  line-height: 1.6;
}

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

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 50px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__description {
  font-size: 1.15rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--page-cockfighting-primary-color), 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-secondary-color);
  color: var(--page-cockfighting-bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--page-cockfighting-secondary-color), 0.4);
}

/* General Section Styling */
.page-cockfighting__section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  color: var(--page-cockfighting-text-secondary);
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-cockfighting__feature-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-cockfighting__feature-title {
  font-size: 1.5rem;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
}

/* List Styles */
.page-cockfighting__list,
.page-cockfighting__steps-list,
.page-cockfighting__safety-list,
.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-cockfighting__list-item,
.page-cockfighting__step-item,
.page-cockfighting__safety-item,
.page-cockfighting__feature-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list-title,
.page-cockfighting__step-title,
.page-cockfighting__safety-title,
.page-cockfighting__feature-sub-title {
  font-size: 1.3rem;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 10px;
}

.page-cockfighting__list-description,
.page-cockfighting__step-description,
.page-cockfighting__safety-description,
.page-cockfighting__feature-sub-description {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
}

/* Promotions Grid */
.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__promotion-card {
  background-color: var(--page-cockfighting-bg-dark);
  border: 1px solid var(--page-cockfighting-border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

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

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

.page-cockfighting__promotion-title {
  font-size: 1.4rem;
  color: var(--page-cockfighting-text-main);
  padding: 20px 20px 10px 20px;
}

.page-cockfighting__promotion-description {
  font-size: 0.95rem;
  color: var(--page-cockfighting-text-secondary);
  padding: 0 20px 20px 20px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border-color);
  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.2rem;
  color: var(--page-cockfighting-text-main);
  cursor: pointer;
  background-color: var(--page-cockfighting-deep-green);
  border-bottom: 1px solid var(--page-cockfighting-divider-color);
}

.page-cockfighting__faq-question:hover {
  background-color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--page-cockfighting-gold-color);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.7;
}

/* Remove default details arrow */
.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-cockfighting__faq-item summary::marker {
  display: none;
}

/* CTA Wrapper */
.page-cockfighting__cta-wrapper {
  margin-top: 40px;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-main);
  padding: 60px 0;
}

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

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

.page-cockfighting__cta-final-section .page-cockfighting__btn-primary {
  background: var(--page-cockfighting-bg-dark);
  color: var(--page-cockfighting-primary-color);
  border-color: var(--page-cockfighting-bg-dark);
}

.page-cockfighting__cta-final-section .page-cockfighting__btn-primary:hover {
  background: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-gold-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-final-section .page-cockfighting__btn-secondary {
  background: var(--page-cockfighting-gold-color);
  color: var(--page-cockfighting-bg-dark);
  border-color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-text-main);
  color: var(--page-cockfighting-deep-green);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-cockfighting__section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 15px;
  }
  .page-cockfighting__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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__hero-section {
    padding-top: 10px !important; /* body handles header offset, this is decorative */
    min-height: 450px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 1rem;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__promotion-card,
  .page-cockfighting__list-item,
  .page-cockfighting__step-item,
  .page-cockfighting__safety-item,
  .page-cockfighting__feature-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__list-title,
  .page-cockfighting__step-title,
  .page-cockfighting__safety-title,
  .page-cockfighting__feature-sub-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }
  .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__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;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    min-height: 350px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: 1.6rem;
  }
}