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

.page-cockfighting {
  background-color: var(--deep-navy-color);
  color: var(--text-main-color);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.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;
  background: var(--deep-navy-color);
}

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

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-cockfighting__hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__link {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__link:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-cockfighting__section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-cockfighting__section h2 {
  font-size: 2.2rem;
  color: var(--gold-color);
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(79, 168, 255, 0.3);
}

.page-cockfighting__section p,
.page-cockfighting__section li {
  color: var(--text-secondary-color);
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: left;
}

.page-cockfighting__section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__why-choose-us ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-cockfighting__why-choose-us li {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
  font-weight: bold;
}

.page-cockfighting__why-choose-us li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__how-to-play ol {
  list-style-type: decimal;
  padding-left: 20px;
  text-align: left;
}

.page-cockfighting__how-to-play li {
  margin-bottom: 15px;
  color: var(--text-main-color);
}

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

.page-cockfighting__promo-card {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  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;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__promo-card h3 {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__promo-card p {
  color: var(--text-secondary-color);
  font-size: 0.95rem;
  flex-grow: 1;
  text-align: center;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 0.9rem;
}

.page-cockfighting__security-support ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-cockfighting__security-support li {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
  font-weight: bold;
}

.page-cockfighting__faq-section {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
  font-weight: 600;
}
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(255, 255, 255, 0.05);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary-color);
  text-align: left;
}

.page-cockfighting__final-cta {
  background: var(--primary-color);
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  max-width: 1000px;
  margin: 50px auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__final-cta h2 {
  color: var(--gold-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.page-cockfighting__final-cta p {
  color: var(--text-secondary-color);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .page-cockfighting__hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-cockfighting__section h2 {
    font-size: 2rem;
  }
  .page-cockfighting__final-cta h2 {
    font-size: 2.2rem;
  }
}

@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: 4px;
  }

  .page-cockfighting__hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-cockfighting__section {
    padding: 30px 15px;
  }

  .page-cockfighting__section h2 {
    font-size: 1.8rem;
  }

  .page-cockfighting__why-choose-us ul,
  .page-cockfighting__promo-cards,
  .page-cockfighting__security-support ul {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-cockfighting__btn-primary {
    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;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 1rem;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
  }

  .page-cockfighting__final-cta h2 {
    font-size: 1.8rem;
  }
  .page-cockfighting__final-cta p {
    font-size: 1rem;
  }
}