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

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--omo88-text-main); /* Default text color for dark background */
  background-color: var(--omo88-background);
  line-height: 1.6;
}

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

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-bottom: 40px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

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

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--omo88-gold);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--omo88-gold);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__section-description {
  font-size: 1rem;
  color: var(--omo88-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  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(--omo88-button-gradient);
  color: var(--omo88-text-main);
  border: 2px solid transparent;
  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: var(--omo88-card-bg);
  color: var(--omo88-omo88-green-light);
  border: 2px solid var(--omo88-omo88-green-main);
  box-shadow: 0 4px 10px rgba(17, 40, 27, 0.3);
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--omo88-omo88-green-main);
  color: var(--omo88-text-main);
  box-shadow: 0 6px 15px rgba(17, 40, 27, 0.5);
}

.page-cockfighting__dark-section {
  background-color: var(--omo88-background);
  color: var(--omo88-text-main);
  padding: 80px 0;
}

.page-cockfighting__light-bg {
  background-color: var(--omo88-deep-green);
  color: var(--omo88-text-main);
  padding: 80px 0;
}

.page-cockfighting__text-main {
  color: var(--omo88-text-main);
}

.page-cockfighting__text-secondary {
  color: var(--omo88-text-secondary);
}

.page-cockfighting__video-section {
  padding: 10px 0 80px 0; /* Small top padding, body handles header offset */
  text-align: center;
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

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

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

.page-cockfighting__video-cta {
  margin-top: 40px;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__promo-card,
.page-cockfighting__step-card {
  background-color: var(--omo88-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--omo88-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-icon,
.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-cockfighting__card-text {
  font-size: 0.95rem;
  color: var(--omo88-text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__guide-cta {
  margin-top: 60px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
  margin-top: 25px;
}

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

.page-cockfighting__faq-item {
  background-color: var(--omo88-card-bg);
  border: 1px solid var(--omo88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

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

.page-cockfighting__faq-item summary {
  list-style: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--omo88-gold);
  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: 1rem;
  color: var(--omo88-text-secondary);
  line-height: 1.7;
  background-color: var(--omo88-card-bg);
}

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

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

.page-cockfighting__faq-answer .page-cockfighting__btn-secondary {
  margin-top: 15px;
  display: inline-flex;
}

.page-cockfighting__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section,
  .page-cockfighting__video-section,
  .page-cockfighting__features-section,
  .page-cockfighting__gameplay-guide,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 0;
  }

  .page-cockfighting__hero-image-wrapper {
    height: 350px;
    margin-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to buttons container */
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
  }

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

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

  .page-cockfighting__card-text {
    font-size: 0.9rem;
  }

  .page-cockfighting__video-wrapper {
    margin: 20px auto;
  }

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

  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }

  .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__hero-section,
  .page-cockfighting__video-section,
  .page-cockfighting__features-section,
  .page-cockfighting__gameplay-guide,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-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;
  }

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