/* style/cockfighting.css */

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

.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--u888-text-main); /* Default text color for the page */
  background-color: var(--u888-background); /* Default background color for the page */
}

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

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  margin-top: 40px;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: var(--u888-gold-color);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-cockfighting__description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--u888-text-secondary);
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  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(--u888-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background: var(--u888-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__btn-text {
  background: transparent;
  color: var(--u888-gold-color);
  border: none;
  padding: 0;
  text-decoration: underline;
  font-size: 1rem;
}

.page-cockfighting__btn-text:hover {
  color: var(--u888-glow-color);
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--u888-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-cockfighting__sub-description {
  font-size: 1.05rem;
  color: var(--u888-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-cockfighting__introduction-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__advantages-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: var(--u888-background);
}

.page-cockfighting__guide-section,
.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: var(--u888-deep-green);
}

.page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block {
  flex: 1;
  line-height: 1.7;
  font-size: 1rem;
  color: var(--u888-text-secondary);
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.page-cockfighting__image-content:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting__card {
  background-color: var(--u888-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--u888-border-color);
}

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

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

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

.page-cockfighting__step-card {
  background-color: var(--u888-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--u888-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(var(--u888-glow-color), 0.3);
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--u888-button-gradient);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.5);
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  color: var(--u888-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__step-text {
  font-size: 0.95rem;
  color: var(--u888-text-secondary);
  line-height: 1.6;
}

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

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

.page-cockfighting__advantage-item {
  background-color: var(--u888-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--u888-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(var(--u888-glow-color), 0.3);
}

.page-cockfighting__advantage-title {
  font-size: 1.4rem;
  color: var(--u888-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__advantage-text {
  font-size: 0.95rem;
  color: var(--u888-text-secondary);
  line-height: 1.6;
}

.page-cockfighting__promotion-card {
  background-color: var(--u888-card-bg);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--u888-border-color);
  margin-bottom: 50px;
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-cockfighting__promotion-content {
  padding: 30px;
  text-align: center;
}

.page-cockfighting__promotion-title {
  font-size: 1.8rem;
  color: var(--u888-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__promotion-text {
  font-size: 1.1rem;
  color: var(--u888-text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--u888-text-main);
  cursor: pointer;
  background-color: var(--u888-card-bg);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: var(--u888-deep-green);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--u888-gold-color);
  margin-left: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--u888-text-secondary);
  line-height: 1.7;
  animation: fadein 0.3s ease-out;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-cockfighting__conclusion-section {
  text-align: center;
}

.page-cockfighting__cta-single {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__text-block, .page-cockfighting__image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-cockfighting__image-wrapper {
    margin-top: 30px;
  }
  .page-cockfighting__promotion-card {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
  .page-cockfighting__description {
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .page-cockfighting__sub-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 50px 0;
  }
  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Force responsive images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Force responsive containers */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__content-grid,
  .page-cockfighting__betting-cards-grid,
  .page-cockfighting__guide-steps-grid,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__promotion-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Force responsive buttons */
  .page-cockfighting__cta-button,
  .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-direction: column !important;
    gap: 10px;
  }

  .page-cockfighting__promotion-title {
    font-size: 1.5rem;
  }
  .page-cockfighting__promotion-text {
    font-size: 1rem;
  }

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