:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-light: #f0f0f0;
  --text-color-dark: #333333;
  --bg-dark-section: rgba(0, 0, 0, 0.85); /* Slightly transparent dark for contrast */
  --bg-light-section: #ffffff;
  --border-color: #e0e0e0;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Default text color for dark body background */
  padding-top: 120px; /* Adjusted for fixed header - Desktop */
}

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

/* Sections */
.page-cockfighting__hero-section,
.page-cockfighting__dark-bg {
  background: var(--bg-dark-section);
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__light-bg {
  background: var(--bg-light-section);
  color: var(--text-color-dark);
  padding: 60px 0;
}

.page-cockfighting__hero-section {
  padding-top: 10px; /* Specific padding for hero to avoid header overlap, desktop */
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-dark); /* Gold background, dark text for contrast */
}

.page-cockfighting__btn-primary:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-color-light); /* Dark red background, light text for contrast */
}

.page-cockfighting__btn-secondary:hover {
  background: lighten(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Feature Grid */
.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: var(--text-color-dark);
}

.page-cockfighting__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-heading {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-cockfighting__feature-text {
  font-size: 16px;
}

/* Bet Type Grid */
.page-cockfighting__bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__bet-type-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-color-light);
}

.page-cockfighting__bet-type-heading {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__bet-type-text {
  font-size: 16px;
}

/* Guide List */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: var(--text-color-dark);
}

.page-cockfighting__guide-heading {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-cockfighting__guide-text {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Strategy List */
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-cockfighting__strategy-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-color-light);
}

.page-cockfighting__strategy-heading {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__strategy-text {
  font-size: 16px;
}

/* Promo Grid */
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__promo-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: var(--text-color-dark);
}

.page-cockfighting__promo-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__promo-heading {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-cockfighting__promo-text {
  font-size: 16px;
}

/* Support List */
.page-cockfighting__support-list {
  list-style: disc;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  padding-left: 40px;
  font-size: 17px;
  color: var(--text-color-light);
}

.page-cockfighting__support-item {
  margin-bottom: 10px;
}

/* App Section */
.page-cockfighting__app-download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__app-qr-code {
  width: 100%;
  max-width: 250px;
  height: auto;
  border: 5px solid var(--primary-color);
  border-radius: 10px;
  display: block;
}

.page-cockfighting__app-text-info {
  text-align: center;
  color: var(--text-color-dark);
}

.page-cockfighting__app-text-info p {
  font-size: 18px;
  margin-bottom: 20px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 40px;
  }
  .page-cockfighting__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px !important; /* Adjusted for fixed header - Mobile */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Mobile specific padding for hero */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__main-title {
    font-size: 32px;
  }

  .page-cockfighting__section-title {
    font-size: 28px;
  }

  .page-cockfighting__description {
    font-size: 16px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-cockfighting__feature-grid,
  .page-cockfighting__bet-type-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__light-bg,
  .page-cockfighting__dark-bg {
    padding: 40px 0;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__bet-type-item,
  .page-cockfighting__guide-item,
  .page-cockfighting__strategy-item,
  .page-cockfighting__promo-item {
    padding: 20px;
  }

  .page-cockfighting__feature-heading,
  .page-cockfighting__promo-heading {
    font-size: 20px;
  }

  .page-cockfighting__guide-heading {
    font-size: 22px;
  }

  .page-cockfighting__support-list {
    padding-left: 20px;
    font-size: 15px;
  }

  .page-cockfighting__app-download-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__app-qr-code {
    max-width: 200px !important;
    width: 100% !important;
  }
}