/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-primary: #11A84E;
  --page-cockfighting-secondary: #22C768;
  --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-background: #08160F;
  --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;
}

/* Base styles for the page content */
.page-cockfighting {
  background-color: var(--page-cockfighting-background); /* #08160F */
  color: var(--page-cockfighting-text-main); /* #F2FFF6 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--page-cockfighting-gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  line-height: 1.2;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  color: var(--page-cockfighting-text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__light-bg .page-cockfighting__text-block,
.page-cockfighting__light-bg .page-cockfighting__list-item {
  color: #333333; /* Dark text for light background */
}

.page-cockfighting__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-cockfighting-border); /* #2E7A4E */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding for first section */
  background-color: var(--page-cockfighting-background);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image */
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -80px; /* Pull content up slightly over image for visual flow */
  background: rgba(8, 22, 15, 0.85); /* Slightly transparent background for readability */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--page-cockfighting-gold); /* #F2C14E */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: var(--page-cockfighting-text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient); /* linear-gradient */
  color: var(--page-cockfighting-text-main); /* #F2FFF6 */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--page-cockfighting-gold); /* #F2C14E */
  color: var(--page-cockfighting-background); /* #08160F */
  transform: translateY(-3px);
}

.page-cockfighting__btn-center {
  margin: 20px auto;
  display: block;
  width: fit-content;
}

/* Section backgrounds */
.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-background); /* #08160F */
  color: var(--page-cockfighting-text-main); /* #F2FFF6 */
  padding: 60px 0;
}

.page-cockfighting__light-bg {
  background-color: #f8f8f8; /* A light background for contrast */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: var(--page-cockfighting-deep-green); /* #0A4B2C */
}

/* Lists */
.page-cockfighting__list,
.page-cockfighting__numbered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.1em;
}

.page-cockfighting__list-item::before {
  content: '•';
  color: var(--page-cockfighting-gold); /* #F2C14E */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  color: var(--page-cockfighting-gold); /* #F2C14E */
  font-weight: bold;
  left: 0;
}

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg); /* #11271B */
  border: 1px solid var(--page-cockfighting-border); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px 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); /* #F2FFF6 */
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--page-cockfighting-gold); /* #F2C14E */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: var(--page-cockfighting-text-secondary); /* #A7D9B8 */
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg); /* #11271B */
  border: 1px solid var(--page-cockfighting-border); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__light-bg .page-cockfighting__faq-item {
  background-color: #ffffff;
  border-color: #e0e0e0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-cockfighting-gold); /* #F2C14E */
  background-color: var(--page-cockfighting-deep-green); /* #0A4B2C */
  border-bottom: 1px solid var(--page-cockfighting-divider); /* #1E3A2A */
}

.page-cockfighting__light-bg .page-cockfighting__faq-question {
  color: var(--page-cockfighting-deep-green); /* #0A4B2C */
  background-color: #f0f0f0;
  border-color: #d0d0d0;
}

.page-cockfighting__faq-question:hover {
  opacity: 0.9;
}

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

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--page-cockfighting-text-secondary); /* #A7D9B8 */
}

.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #555555;
}

/* Hide default details marker */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--page-cockfighting-deep-green); /* #0A4B2C */
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-gold); /* #F2C14E */
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--page-cockfighting-text-main); /* #F2FFF6 */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    border-radius: 8px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .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: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__dark-section,
  .page-cockfighting__light-bg {
    padding: 40px 0;
  }
  .page-cockfighting__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card {
    padding: 25px;
    border-radius: 8px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
  .page-cockfighting__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__how-to-join-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__hero-content {
    max-width: calc(100% - 30px) !important; /* Adjust for container padding */
    width: calc(100% - 30px) !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__btn-center {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-cockfighting__conclusion-section {
    padding: 60px 0;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
}

/* Accessibility: Focus styles */
.page-cockfighting a:focus,
.page-cockfighting button:focus,
.page-cockfighting__faq-question:focus {
  outline: 2px solid var(--page-cockfighting-gold);
  outline-offset: 2px;
}