/* style/cockfighting.css */

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

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

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

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__text-main {
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__text-secondary {
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__deep-green {
  background-color: var(--page-cockfighting-deep-green);
  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 as body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly on image for visual flow, but not text */
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__subtitle {
  font-size: clamp(1em, 1.8vw, 1.25em);
  margin-bottom: 30px;
  color: var(--page-cockfighting-text-secondary);
}

.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: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-btn-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--page-cockfighting-glow); /* Lighter green for text */
  border: 2px solid var(--page-cockfighting-glow);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-glow);
  color: var(--page-cockfighting-bg); /* Dark background text for contrast */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(87, 227, 141, 0.2);
}

/* Sections */
.page-cockfighting__about-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-bg);
}

.page-cockfighting__dark-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-card-bg);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__section-description {
  font-size: clamp(1em, 1.5vw, 1.1em);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
}

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

/* Bet Types Grid */
.page-cockfighting__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__bet-type-item {
  text-align: center;
}

.page-cockfighting__bet-type-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__bet-type-text {
  font-size: 0.95em;
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__step-item {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.page-cockfighting__step-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__step-text {
  font-size: 0.95em;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__link {
  color: var(--page-cockfighting-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__link:hover {
  color: var(--page-cockfighting-gold);
  text-decoration: underline;
}

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

.page-cockfighting__promotion-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-cockfighting__promotion-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__promotion-text {
  font-size: 0.95em;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__cta-view-all {
  text-align: center;
}

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

.page-cockfighting__tip-item {
  text-align: left;
}

.page-cockfighting__tip-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__tip-text {
  font-size: 0.95em;
  color: var(--page-cockfighting-text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(17, 39, 27, 0.6); /* Slightly darker for question header */
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-cockfighting-text-main);
  list-style: none; /* For details tag */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-glow);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95em;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -100px;
  }
  .page-cockfighting__section-title {
    font-size: 2.5em;
  }
}

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

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 25px;
  }

  .page-cockfighting__main-title {
    font-size: 2em;
  }

  .page-cockfighting__subtitle {
    font-size: 1em;
  }

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__dark-section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Image, Video, Button Responsive Fixes */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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; /* Ensure no overflow */
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }

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

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

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }

  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 20px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
  }
}