/* style/cockfighting.css */

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

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

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

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 1.15rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--text-main-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main-color);
}

.page-cockfighting__btn-primary--center,
.page-cockfighting__btn-secondary--center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 300px;
}

.page-cockfighting__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__container--text-center {
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main-color);
  margin-bottom: 40px;
}

.page-cockfighting__description-text {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__grid--two-columns {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-cockfighting__grid--three-columns {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-cockfighting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-cockfighting__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card-text {
  font-size: 1rem;
  color: var(--text-secondary-color);
}

.page-cockfighting__dark-section {
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
}

.page-cockfighting__card--transparent {
  background-color: rgba(17, 39, 27, 0.5); /* Slightly transparent card background */
  border-color: var(--border-color);
}

.page-cockfighting__feature-image,
.page-cockfighting__betting-image,
.page-cockfighting__promotion-image,
.page-cockfighting__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  object-fit: cover;
}

.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  text-align: left;
}

.page-cockfighting__step-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding-left: 80px;
}

.page-cockfighting__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 25px;
  top: 25px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  color: var(--text-main-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__step-text {
  font-size: 1rem;
  color: var(--text-secondary-color);
}

.page-cockfighting__tip-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.page-cockfighting__tip-title {
  font-size: 1.5rem;
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__tip-text {
  font-size: 1rem;
  color: var(--text-secondary-color);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  list-style: none;
}

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--divider-color);
}

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

/* Global image and video responsive styles */
.page-cockfighting img,
.page-cockfighting video,
.page-cockfighting__video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__video-container,
.page-cockfighting__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
  }

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

  .page-cockfighting__description {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__btn-primary--center,
  .page-cockfighting__btn-secondary--center {
    max-width: 100%;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

  .page-cockfighting__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__description-text {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card,
  .page-cockfighting__tip-item {
    padding: 20px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__tip-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__step-item {
    padding-left: 65px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .page-cockfighting__step-item::before {
    left: 20px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .page-cockfighting__step-title {
    font-size: 1.2rem;
  }

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

  .page-cockfighting__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-cockfighting img,
  .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__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-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__hero-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}