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

.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;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--bg-color);
  color: var(--text-main);
}

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

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

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

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

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

.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: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--text-main);
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-cockfighting__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__features-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__download-app-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-cockfighting__registration-guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__support-security-section {
  padding: 60px 0;
  background-color: var(--bg-color);
  color: var(--text-main);
}

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

.page-cockfighting__feature-item,
.page-cockfighting__step-item,
.page-cockfighting__promo-card,
.page-cockfighting__support-item {
  background-color: var(--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;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-item:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__support-item:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting__step-icon {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.page-cockfighting__feature-text,
.page-cockfighting__step-text,
.page-cockfighting__promo-text,
.page-cockfighting__support-text {
  font-size: 1rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 20px;
}

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

.page-cockfighting__betting-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.page-cockfighting__betting-card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 15px;
}

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

.page-cockfighting__strategy-text {
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px dashed var(--divider);
}

.page-cockfighting__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-cockfighting__app-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-cockfighting__app-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-cockfighting__app-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__app-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.page-cockfighting__app-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.page-cockfighting__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
}

.page-cockfighting__app-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

/* Ensure contrast for text on card-bg */
.page-cockfighting__feature-item,
.page-cockfighting__step-item,
.page-cockfighting__promo-card,
.page-cockfighting__support-item,
.page-cockfighting__betting-card,
.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  color: var(--text-main);
}

/* Ensure contrast for text on background-light */
.page-cockfighting__features-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__download-app-section,
.page-cockfighting__faq-section {
  background-color: var(--background-light);
  color: var(--text-main);
}

/* Text elements */
.page-cockfighting p,
.page-cockfighting li,
.page-cockfighting__hero-description,
.page-cockfighting__feature-text,
.page-cockfighting__step-text,
.page-cockfighting__promo-text,
.page-cockfighting__support-text,
.page-cockfighting__betting-card-text,
.page-cockfighting__strategy-text,
.page-cockfighting__app-list li,
.page-cockfighting__faq-answer {
  color: var(--text-secondary);
}

/* Headings */
.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3,
.page-cockfighting h4,
.page-cockfighting h5,
.page-cockfighting h6,
.page-cockfighting__main-title,
.page-cockfighting__section-title,
.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__promo-title,
.page-cockfighting__support-title,
.page-cockfighting__app-subtitle,
.page-cockfighting__faq-question {
  color: var(--text-main);
}

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

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

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

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

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  .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: 1rem;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    padding-top: 20px;
  }

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

  .page-cockfighting__features-section,
  .page-cockfighting__registration-guide-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__download-app-section,
  .page-cockfighting__support-security-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__support-grid,
  .page-cockfighting__betting-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__support-item,
  .page-cockfighting__betting-card,
  .page-cockfighting__faq-item {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__step-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__support-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__app-content {
    flex-direction: column;
  }

  .page-cockfighting__app-text,
  .page-cockfighting__app-image-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .page-cockfighting__app-subtitle {
    font-size: 1.5rem;
  }

  .page-cockfighting__app-image {
    max-width: 80%;
    margin: 0 auto;
  }

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

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

  /* Image responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Container responsive */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__features-section,
  .page-cockfighting__registration-guide-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__download-app-section,
  .page-cockfighting__support-security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__support-item,
  .page-cockfighting__betting-card,
  .page-cockfighting__app-content,
  .page-cockfighting__app-text,
  .page-cockfighting__app-image-wrapper,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons in mobile */
  .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: 0;
    padding-right: 0;
    flex-direction: column !important;
    gap: 10px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Ensure all content images meet minimum size in CSS */
.page-cockfighting__feature-image,
.page-cockfighting__step-image,
.page-cockfighting__promo-image,
.page-cockfighting__support-image,
.page-cockfighting__app-image {
  min-width: 200px;
  min-height: 200px;
}

/* Specific mobile top padding for hero/video sections */
.page-cockfighting__hero-section {
  padding-top: 10px !important;
}

/* Desktop video container width */
.page-cockfighting__video-container {
  width: 100%;
}

/* Ensure buttons have padding on mobile even if container has 0 padding */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding-left: 15px;
  padding-right: 15px;
}

/* Remove border from summary in details for consistent look */
.page-cockfighting__faq-item summary {
  border-bottom: none;
}

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