/* style/cockfighting.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
}

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

/* Desktop padding for fixed header */
.page-cockfighting__video-section {
  padding-top: 120px; /* Adjust based on header height */
}

.page-cockfighting__section-intro,
.page-cockfighting__features,
.page-cockfighting__how-to-play,
.page-cockfighting__tips,
.page-cockfighting__faq-container,
.page-cockfighting__brand-container,
.page-cockfighting__blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-light);
}

.page-cockfighting__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__video-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none;
}

.page-cockfighting__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-cockfighting__video-link:hover .page-cockfighting__video-overlay {
  opacity: 1;
}

.page-cockfighting__video-click-hint {
  color: var(--text-light);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(255, 193, 7, 0.8);
  border-radius: 30px;
  white-space: nowrap;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.page-cockfighting__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-cockfighting__play-now-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 30px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-cockfighting__play-now-button:hover {
  background: #e0a800;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-dark);
}

.page-cockfighting__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Title Section */
.page-cockfighting__title-section {
  background: var(--bg-white);
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__main-title {
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__title-description {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  color: var(--text-light);
}

/* General Content Area */
.page-cockfighting__content-area {
  background: var(--bg-white);
  padding: 60px 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-top: 20px;
  border-radius: 8px;
}

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

.page-cockfighting__sub-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-top: 50px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__section-intro p {
  font-size: 17px;
  color: #444;
  margin-bottom: 25px;
  text-align: justify;
}

.page-cockfighting__image-fullwidth {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-cockfighting__features {
  padding: 40px 20px;
}

.page-cockfighting__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-cockfighting__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-cockfighting__feature-heading {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__feature-item p {
  font-size: 16px;
  color: #555;
  text-align: center;
}

/* How To Play Section */
.page-cockfighting__how-to-play {
  padding: 40px 20px;
}

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

.page-cockfighting__step-item {
  background: var(--bg-white);
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-left: 5px solid var(--secondary-color);
}

.page-cockfighting__step-item:last-child {
  margin-bottom: 0;
}

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

.page-cockfighting__step-item p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
  background: #e0a800;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  color: var(--text-dark);
}

/* Tips Section */
.page-cockfighting__tips {
  padding: 40px 20px;
}

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

.page-cockfighting__tip-list li {
  background: var(--bg-white);
  padding: 18px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  font-size: 17px;
  color: #444;
  border-left: 4px solid var(--primary-color);
  transition: transform 0.2s ease;
}

.page-cockfighting__tip-list li:hover {
  transform: translateX(5px);
}

.page-cockfighting__tip-list strong {
  color: var(--primary-color);
}

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

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

.page-cockfighting__faq-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

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

.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

.page-cockfighting__faq-toggle {
  font-size: 28px;
  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: 30px;
  height: 30px;
}

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

.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 25px;
  opacity: 0;
  background: var(--bg-white);
  border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555;
  text-align: justify;
}

/* Brand Section */
.page-cockfighting__brand-section {
  background: linear-gradient(135deg, #f0f0f0 0%, var(--bg-light) 100%);
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__brand-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__brand-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-cockfighting__brand-item {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-top: 5px solid var(--secondary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-cockfighting__brand-image {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-cockfighting__brand-item h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__brand-item p {
  font-size: 16px;
  color: #555;
  text-align: justify;
}

/* Blog Section */
.page-cockfighting__blog-section {
  background: var(--bg-white);
  padding: 60px 20px;
}

.page-cockfighting__blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__blog-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

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

.page-cockfighting__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-cockfighting__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-cockfighting__blog-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__blog-item-title {
  font-size: 22px;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  margin: 0;
  font-weight: 600;
}

.page-cockfighting__blog-item-excerpt {
  font-size: 15px;
  color: #666;
  padding: 0 20px 15px;
  margin: 0;
  text-align: justify;
}

.page-cockfighting__blog-item-date {
  display: block;
  font-size: 14px;
  color: #888;
  padding: 0 20px 20px;
  text-align: right;
}

.page-cockfighting__view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__main-title {
    font-size: 36px;
  }
  .page-cockfighting__section-title,
  .page-cockfighting__faq-title,
  .page-cockfighting__brand-title,
  .page-cockfighting__blog-title {
    font-size: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 24px;
  }
  .page-cockfighting__feature-list,
  .page-cockfighting__brand-content,
  .page-cockfighting__blog-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Mobile: Adjust based on fixed header height */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__video-container,
  .page-cockfighting__video-link,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

  .page-cockfighting__video-click-hint {
    font-size: 16px;
    padding: 10px 20px;
  }

  .page-cockfighting__play-now-button {
    font-size: 18px;
    padding: 15px 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__title-section {
    padding: 40px 15px;
  }

  .page-cockfighting__main-title {
    font-size: 30px;
  }

  .page-cockfighting__title-description {
    font-size: 16px;
  }

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

  .page-cockfighting__cta-button {
    font-size: 16px;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-intro,
  .page-cockfighting__features,
  .page-cockfighting__how-to-play,
  .page-cockfighting__tips,
  .page-cockfighting__faq-container,
  .page-cockfighting__brand-container,
  .page-cockfighting__blog-container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title,
  .page-cockfighting__faq-title,
  .page-cockfighting__brand-title,
  .page-cockfighting__blog-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 25px;
  }

  .page-cockfighting__feature-list,
  .page-cockfighting__brand-content,
  .page-cockfighting__blog-list {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__brand-item,
  .page-cockfighting__blog-item {
    padding: 25px;
  }

  .page-cockfighting__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-cockfighting__feature-heading {
    font-size: 20px;
  }

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

  .page-cockfighting__btn-small {
    font-size: 14px;
    padding: 8px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

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

  .page-cockfighting__brand-image {
    width: 80px;
    height: 80px;
  }

  .page-cockfighting__brand-item h3 {
    font-size: 20px;
  }

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

  .page-cockfighting__blog-item-excerpt,
  .page-cockfighting__blog-item-date {
    font-size: 14px;
  }
}

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

@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__title-section,
  .page-cockfighting__title-container,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__content-area,
  .page-cockfighting__features,
  .page-cockfighting__how-to-play,
  .page-cockfighting__tips,
  .page-cockfighting__faq-section,
  .page-cockfighting__faq-container,
  .page-cockfighting__brand-section,
  .page-cockfighting__brand-container,
  .page-cockfighting__blog-section,
  .page-cockfighting__blog-container,
  .page-cockfighting__blog-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}