.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--color-deep-navy); /* Body background is deep navy, so text is light */
}

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__text-block {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-cockfighting__text-block a {
  color: var(--glow);
  text-decoration: underline;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-deep-navy) 0%, #061120 100%);
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: 48px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__tagline {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 16px 45px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 19px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--secondary {
  background: var(--card-bg);
  border: 2px solid var(--border);
  color: var(--text-main);
  box-shadow: none;
}

.page-cockfighting__cta-button--secondary:hover {
  background: var(--border);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
}

.page-cockfighting__introduction, .page-cockfighting__conclusion {
  background-color: var(--color-deep-navy);
}

.page-cockfighting__game-types {
  background: linear-gradient(180deg, #0B1D34 0%, var(--color-deep-navy) 100%);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.page-cockfighting__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--divider);
}

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

.page-cockfighting__card-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-cockfighting__guide {
  background-color: var(--color-deep-navy);
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.page-cockfighting__step-title {
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__step-item p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-cockfighting__advantages {
  background: linear-gradient(180deg, #0B1D34 0%, var(--color-deep-navy) 100%);
}

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

.page-cockfighting__feature-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-cockfighting__feature-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-cockfighting__strategies {
  background-color: var(--color-deep-navy);
}

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

.page-cockfighting__strategy-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.page-cockfighting__strategy-title {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__strategy-item p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-cockfighting__promotions {
  background: linear-gradient(180deg, #0B1D34 0%, var(--color-deep-navy) 100%);
}

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

.page-cockfighting__promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__promo-title {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__promo-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__faq-section {
  background-color: var(--color-deep-navy);
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--card-bg-rgb), 0.5);
  border-radius: 0 0 12px 12px;
}

.page-cockfighting__faq-answer p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-cockfighting__conclusion {
  padding-bottom: 80px;
}

.page-cockfighting__conclusion .page-cockfighting__cta-button {
  margin-top: 40px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-image img {
    border-radius: 8px;
  }

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

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

  .page-cockfighting__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__cta-button,
  .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__section {
    padding: 40px 0;
  }

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

  .page-cockfighting__text-block {
    font-size: 15px;
  }

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

  .page-cockfighting__card, .page-cockfighting__step-item, .page-cockfighting__feature-card, .page-cockfighting__strategy-item, .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__card-title, .page-cockfighting__step-title, .page-cockfighting__feature-title, .page-cockfighting__strategy-title, .page-cockfighting__promo-title {
    font-size: 20px;
  }

  .page-cockfighting__card-description, .page-cockfighting__step-item p, .page-cockfighting__feature-description, .page-cockfighting__strategy-item p, .page-cockfighting__promo-description {
    font-size: 14px;
  }

  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 24px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px 20px;
  }

  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 20px;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__feature-icon {
    width: 60px;
    height: 60px;
  }
}

/* Color variables for consistency */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border: #244D84;
  --glow: #4FA8FF;
  --gold: #F2C14E;
  --divider: #1B3357;
  --color-deep-navy: #08162B;

  /* RGB for rgba usage */
  --primary-color-rgb: 17, 59, 122;
  --card-bg-rgb: 16, 35, 63;
}

/* General link color for content */
.page-cockfighting a {
  color: var(--glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* Ensure contrast for all text elements */
.page-cockfighting h1, .page-cockfighting h2, .page-cockfighting h3, .page-cockfighting h4, .page-cockfighting h5, .page-cockfighting h6 {
  color: var(--text-main);
}

.page-cockfighting p, .page-cockfighting li, .page-cockfighting span {
  color: var(--text-secondary);
}

.page-cockfighting__card h3 {
  color: var(--text-main);
}

.page-cockfighting__card p {
  color: var(--text-secondary);
}

.page-cockfighting__cta-button {
  color: #ffffff;
}

/* Override specific element colors based on context if needed for contrast */
.page-cockfighting__faq-answer p {
  color: var(--text-secondary);
}