/* 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 {
  font-family: 'Arial', sans-serif;
  color: var(--page-cockfighting-text-main);
  background-color: var(--page-cockfighting-bg);
  line-height: 1.6;
}

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

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

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: bold;
  color: var(--page-cockfighting-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px var(--page-cockfighting-glow);
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 30px;
}

.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: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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(--page-cockfighting-btn-gradient);
  color: var(--page-cockfighting-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 255, 100, 0.3);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 255, 100, 0.5);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-gold);
  color: var(--page-cockfighting-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--page-cockfighting-gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  text-shadow: 0 0 8px var(--page-cockfighting-glow);
}

.page-cockfighting__subtitle {
  font-size: 1.8em;
  color: var(--page-cockfighting-text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--page-cockfighting-divider);
  padding-bottom: 10px;
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-block a {
  color: var(--page-cockfighting-glow);
  text-decoration: none;
}

.page-cockfighting__text-block a:hover {
  text-decoration: underline;
}

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--page-cockfighting-text-main);
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--page-cockfighting-gold);
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.5;
}

.page-cockfighting__introduction-section {
  padding: 60px 0;
}

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

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

.page-cockfighting__betting-guide-section {
  padding: 60px 0;
}

.page-cockfighting__betting-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__betting-steps {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__betting-steps li {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  font-size: 1.05em;
  color: var(--page-cockfighting-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-cockfighting__betting-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background: var(--page-cockfighting-btn-gradient);
  color: var(--page-cockfighting-text-main);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  flex-shrink: 0;
}

.page-cockfighting__step-highlight {
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__experience-section {
  padding: 60px 0;
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  background-color: var(--page-cockfighting-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-cockfighting-border);
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  box-sizing: border-box;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-cockfighting__video-caption {
  text-align: center;
  color: var(--page-cockfighting-text-secondary);
  font-size: 0.95em;
  padding: 15px 20px;
}

.page-cockfighting__video-caption a {
  color: var(--page-cockfighting-glow);
  text-decoration: none;
}

.page-cockfighting__video-caption a:hover {
  text-decoration: underline;
}

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-cockfighting__list-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--page-cockfighting-text-secondary);
  font-size: 1.05em;
}

.page-cockfighting__list-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  min-width: 48px; /* Ensure icon is not too small */
  min-height: 48px;
}

.page-cockfighting__list-text strong {
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__promotions-section {
  padding: 60px 0;
}

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

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

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1em;
}

.page-cockfighting__faq-section {
  padding: 60px 0;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  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: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  cursor: pointer;
  background-color: var(--page-cockfighting-deep-green);
  border-bottom: 1px solid var(--page-cockfighting-divider);
  list-style: none;
}

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

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--page-cockfighting-glow);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--page-cockfighting-divider);
}

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

.page-cockfighting__faq-answer a {
  color: var(--page-cockfighting-glow);
  text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 25px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

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

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

  .page-cockfighting__feature-image,
  .page-cockfighting__promo-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

  .page-cockfighting__hero-content {
    padding: 20px;
    margin: 0 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__content-area,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__features-grid,
  .page-cockfighting__betting-cards-grid,
  .page-cockfighting__promo-cards-grid,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-cockfighting img,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__feature-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }

  .page-cockfighting__list-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 15px;
  }

  .page-cockfighting__list-icon {
    margin-bottom: 5px;
  }

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

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

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    padding: 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }

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

  .page-cockfighting__feature-image,
  .page-cockfighting__promo-image {
    height: 150px;
  }
}