/* style/cockfighting.css */

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

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

.page-cockfighting__section-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 700;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

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

/* 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 decorative top padding */
  text-align: center;
  overflow: hidden;
  background-color: var(--page-cockfighting-bg-dark);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-cockfighting__main-title {
  font-weight: 800;
  color: var(--page-cockfighting-gold);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.page-cockfighting__intro-text {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-cockfighting__btn-secondary {
  background: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-gold);
  border: 2px solid var(--page-cockfighting-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--page-cockfighting-deep-green);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Video Section */
.page-cockfighting__video-section {
  background-color: var(--page-cockfighting-bg-dark);
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding */
  text-align: center;
}

.page-cockfighting__video-container {
  width: 100%; /* Ensure width: 100% for desktop */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__video-wrapper {
  display: block;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  cursor: pointer;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 20px;
  background-color: #0d1e16; /* Slightly lighter dark background for contrast */
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.page-cockfighting__feature-icon {
  width: 100%; /* Ensure large images */
  height: auto;
  max-height: 200px; /* Limit height for feature icons */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--page-cockfighting-gold);
  margin-bottom: 10px;
}

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

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 80px 20px;
  background-color: var(--page-cockfighting-bg-dark);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__type-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__type-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--page-cockfighting-gold);
  margin-bottom: 10px;
}

.page-cockfighting__type-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
  padding: 80px 20px;
  background-color: #0d1e16; /* Slightly lighter dark background for contrast */
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-cockfighting-border);
  position: relative;
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--page-cockfighting-deep-green);
  box-shadow: 0 3px 10px rgba(17, 168, 78, 0.5);
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--page-cockfighting-gold);
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
}

.page-cockfighting__step-link {
  display: inline-block;
  color: var(--page-cockfighting-secondary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--page-cockfighting-secondary);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__step-link:hover {
  color: var(--page-cockfighting-glow);
  border-color: var(--page-cockfighting-glow);
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding: 80px 20px;
  background-color: var(--page-cockfighting-bg-dark);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__strategy-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__strategy-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--page-cockfighting-gold);
  margin-bottom: 10px;
}

.page-cockfighting__strategy-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 20px;
  background-color: #0d1e16; /* Slightly lighter dark background for contrast */
  color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-cockfighting-text-main);
  cursor: pointer;
  background-color: var(--page-cockfighting-deep-green);
  border-bottom: 1px solid var(--page-cockfighting-divider);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: var(--page-cockfighting-primary);
  border-bottom-color: transparent;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-cockfighting-gold);
  transition: transform 0.3s ease;
}

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

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

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
}

.page-cockfighting__faq-link {
  display: inline-block;
  color: var(--page-cockfighting-secondary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--page-cockfighting-secondary);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__faq-link:hover {
  color: var(--page-cockfighting-glow);
  border-color: var(--page-cockfighting-glow);
}

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

/* Bottom CTA Section */
.page-cockfighting__cta-bottom-section {
  padding: 80px 20px;
  background-color: var(--page-cockfighting-bg-dark);
  text-align: center;
}

/* Global image settings to prevent small icons */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-cockfighting__intro-text {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-cockfighting__section-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
  .page-cockfighting__hero-section {
    padding: 30px 15px;
  }
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-cockfighting__intro-text {
    font-size: clamp(0.95rem, 3.5vw, 1.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;
  }

  /* Video Responsive */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    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;
  }

  /* Image Responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__features-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding: 40px 15px;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__type-title,
  .page-cockfighting__step-title,
  .page-cockfighting__strategy-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 1.5rem;
  }
  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-cockfighting__intro-text {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 0.95rem;
  }
  .page-cockfighting__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    top: -20px;
  }
  .page-cockfighting__step-title {
    margin-top: 30px;
  }
  .page-cockfighting__feature-icon {
    max-height: 150px;
  }
}