/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  min-height: 500px;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-main);
  max-width: 900px;
}

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

.page-cockfighting__hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
  text-shadow: 1px 1px 2px 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;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* General Section Styles */
.page-cockfighting__section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.page-cockfighting__introduction-section {
  background-color: var(--background);
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-cockfighting__paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-cockfighting__highlight {
  color: var(--glow);
  font-weight: 600;
}

.page-cockfighting__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-cockfighting__list li {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-cockfighting__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__image-inline {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__text-content {
  flex: 2;
}

/* Registration Guide */
.page-cockfighting__registration-guide-section {
  text-align: center;
}

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

.page-cockfighting__step-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
  border: 1px solid var(--border);
}

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

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
  text-align: center;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}

.page-cockfighting__note-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 30px;
  font-style: italic;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  background-color: var(--background);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--text-main);
  border: 1px solid var(--border);
}

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

/* Live Stream Section */
.page-cockfighting__live-stream-section {
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

/* Promotions Section */
.page-cockfighting__promotions-section {
  text-align: center;
}

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

.page-cockfighting__promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--text-main);
  border: 1px solid var(--border);
}

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

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: var(--background);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--card-bg);
  color: var(--text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For <details> tag */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* For <details> tag */
}

.page-cockfighting__faq-question:hover {
  background-color: var(--deep-green);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--glow);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }

  .page-cockfighting__image-text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__image-inline {
    min-width: unset;
  }

  .page-cockfighting__section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

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

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

  .page-cockfighting__cta-buttons--center {
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .page-cockfighting__paragraph,
  .page-cockfighting__list li,
  .page-cockfighting__card-description,
  .page-cockfighting__note-text,
  .page-cockfighting__faq-answer p {
    font-size: 0.95rem;
  }

  .page-cockfighting__image-inline,
  .page-cockfighting__step-image,
  .page-cockfighting__card-image,
  .page-cockfighting__promo-image,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__image-text-block,
  .page-cockfighting__steps-grid,
  .page-cockfighting__grid-2-cols,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item,
  .page-cockfighting__step-card,
  .page-cockfighting__card,
  .page-cockfighting__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body handles header offset */
  }

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

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

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