/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-primary-color: #FF8C1A;
  --page-cockfighting-secondary-color: #FFA53A;
  --page-cockfighting-card-bg: #17191F;
  --page-cockfighting-background: #0D0E12;
  --page-cockfighting-text-main: #FFF3E6;
  --page-cockfighting-border: #A84F0C;
  --page-cockfighting-glow: #FFB04D;
  --page-cockfighting-deep-orange: #D96800;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--page-cockfighting-text-main); /* Default text color for dark body background */
  background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__section-spacing {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: var(--page-cockfighting-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-cockfighting-text-main);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--page-cockfighting-text-main);
  opacity: 0.9;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, var(--page-cockfighting-secondary-color) 0%, var(--page-cockfighting-deep-orange) 100%);
  color: #ffffff; /* White text for dark button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  transform: translateY(-2px);
}

/* Introduction Section */
.page-cockfighting__introduction-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Bet Types Section */
.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-card-bg);
}

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

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

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__card-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-cockfighting-text-main);
  opacity: 0.8;
}

/* Guide Section */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__step-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-cockfighting-text-main);
  opacity: 0.8;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__btn-text {
  display: inline-flex;
  align-items: center;
  color: var(--page-cockfighting-secondary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.page-cockfighting__btn-text:hover {
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-cockfighting__btn-text:hover .page-cockfighting__arrow {
  transform: translateX(5px);
}

/* Tips Section */
.page-cockfighting__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__tip-item {
  background-color: var(--page-cockfighting-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__tip-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__tip-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-cockfighting-text-main);
  opacity: 0.8;
}

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

.page-cockfighting__promo-card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border);
  display: flex;
  flex-direction: column;
}

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

.page-cockfighting__promo-card > div {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__promo-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-cockfighting-text-main);
  opacity: 0.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__view-all-promos {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__btn-link {
  display: inline-flex;
  align-items: center;
  color: var(--page-cockfighting-secondary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.page-cockfighting__btn-link:hover {
  color: var(--page-cockfighting-primary-color);
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-background);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--page-cockfighting-secondary-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
  background-color: var(--page-cockfighting-card-bg);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

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

.page-cockfighting__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-cockfighting__section-spacing {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }

  .page-cockfighting__grid-cards,
  .page-cockfighting__steps-grid,
  .page-cockfighting__tips-list,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-card,
  .page-cockfighting__tip-item,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__tip-image,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-bottom: 15px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__step-title,
  .page-cockfighting__tip-title,
  .page-cockfighting__promo-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .page-cockfighting__card-description,
  .page-cockfighting__step-description,
  .page-cockfighting__tip-description,
  .page-cockfighting__promo-description {
    font-size: 0.9rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  /* Ensure all content containers are responsive */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    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__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: 1.6rem;
  }
  .page-cockfighting__btn-large {
    font-size: 1.1rem;
    padding: 15px 25px;
  }
}