/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 30px;
  border-radius: 10px;
  background: rgba(38, 169, 224, 0.2); /* Semi-transparent brand color for contrast */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* General Section Styles */
.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Card Styles */
.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #26A9E0; /* Brand color for titles on cards */
  margin-bottom: 10px;
}

.page-cockfighting__card-text {
  font-size: 1em;
}

/* Button Styles */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
}

.page-cockfighting__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

.page-cockfighting__btn-secondary {
  background: #EA7C07; /* Login color for secondary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-secondary:hover {
  background: #c26505;
  border-color: #c26505;
}

/* Image styles */
.page-cockfighting__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* List Styles */
.page-cockfighting__list-numbered,
.page-cockfighting__list-bullet {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__list-numbered li,
.page-cockfighting__list-bullet li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-cockfighting__list-title {
  display: inline;
  font-weight: bold;
  color: #26A9E0; /* Brand color for list titles */
}

/* Specific Section Backgrounds & Colors */
.page-cockfighting__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast, still light text */
  color: #ffffff;
}

.page-cockfighting__introduction-section .page-cockfighting__section-title,
.page-cockfighting__registration-guide-section .page-cockfighting__section-title,
.page-cockfighting__features-section .page-cockfighting__section-title,
.page-cockfighting__security-section .page-cockfighting__section-title,
.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__bet-types-section .page-cockfighting__section-title,
.page-cockfighting__strategy-section .page-cockfighting__section-title,
.page-cockfighting__promotions-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #ffffff;
}

/* Grid Layouts */
.page-cockfighting__bet-types-grid,
.page-cockfighting__guide-steps,
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #1e87c0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

/* Video Styles */
.page-cockfighting__video-container {
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video-wrapper .page-cockfighting__video,
.page-cockfighting__video-wrapper .page-cockfighting__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  display: block; /* Ensure video takes up space */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    height: auto;
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-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;
  }
  .page-cockfighting__content-area {
    padding: 30px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__list-numbered li,
  .page-cockfighting__list-bullet li {
    font-size: 1em;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__bet-types-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: 0 !important;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    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__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__hero-content {
    padding: 20px;
  }
}