/* style/cockfighting.css */
:root {
  --page-cockfighting-bg: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border: #2E7A4E;
  --page-cockfighting-glow: #57E38D;
  --page-cockfighting-gold: #F2C14E;
  --page-cockfighting-divider: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
  --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-bg);
  color: var(--page-cockfighting-text-main);
  padding: 60px 0;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already has padding-top */
  text-align: center;
  overflow: hidden;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: -150px; /* Adjust this value to bring content up, but not overlap image */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

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

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

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-btn-gradient);
  color: var(--page-cockfighting-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: var(--page-cockfighting-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__sub-title {
  font-size: 1.8rem;
  color: var(--page-cockfighting-text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

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

.page-cockfighting__feature-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid var(--page-cockfighting-border);
}

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

.page-cockfighting__feature-description {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__steps-list {
  list-style: decimal;
  color: var(--page-cockfighting-text-secondary);
  padding-left: 25px;
  margin-top: 20px;
}

.page-cockfighting__steps-list li {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-cockfighting__steps-list li strong {
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__bullet-list {
  list-style: disc;
  color: var(--page-cockfighting-text-secondary);
  padding-left: 25px;
  margin-top: 20px;
}

.page-cockfighting__bullet-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

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

.page-cockfighting__promo-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid var(--page-cockfighting-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__promo-title {
  font-size: 1.4rem;
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-cockfighting__feature-icons-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-cockfighting__feature-icons-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid var(--page-cockfighting-border);
  text-align: center;
}

.page-cockfighting__icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 5px var(--page-cockfighting-glow));
}

.page-cockfighting__icon--live-stream {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M18 10h-1.42c-.22-.84-.66-1.59-1.23-2.22l1.04-1.04c.39-.39.39-1.02 0-1.41-.39-.39-1.02-.39-1.41 0l-1.04 1.04c-.63-.57-1.38-1.01-2.22-1.23V4c0-.55-.45-1-1-1s-1 .45-1 1v1.42c-.84.22-1.59.66-2.22 1.23L6.16 5.16c-.39-.39-1.02-.39-1.41 0-.39.39-.39 1.02 0 1.41l1.04 1.04c-.57.63-1.01 1.38-1.23 2.22H4c-.55 0-1 .45-1 1s.45 1 1 1h1.42c.22.84.66 1.59 1.23 2.22l-1.04 1.04c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l1.04-1.04c.63.57 1.38 1.01 2.22 1.23V20c0 .55.45 1 1 1s1-.45 1-1v-1.42c.84-.22 1.59-.66 2.22-1.23l1.04 1.04c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41l-1.04-1.04c.57-.63 1.01-1.38 1.23-2.22H20c.55 0 1-.45 1-1s-.45-1-1-1zm-6 0c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"/></svg>');
}
.page-cockfighting__icon--mobile-app {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/></svg>');
}
.page-cockfighting__icon--support {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/></svg>');
}
.page-cockfighting__icon--security {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h-1V15h2v-3.01h-1zM13 8h-2V6h2v2z"/></svg>');
}

.page-cockfighting__feature-icons-title {
  font-size: 1.3rem;
  color: var(--page-cockfighting-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__feature-icons-description {
  font-size: 0.95rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 15px;
}

.page-cockfighting__text-link {
  color: var(--page-cockfighting-glow);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

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

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  cursor: pointer;
  list-style: none; /* Remove default marker */
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: normal;
  color: var(--page-cockfighting-glow);
  margin-left: 15px;
}

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

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -100px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__feature-list,
  .page-cockfighting__promo-grid,
  .page-cockfighting__feature-icons-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .page-cockfighting__dark-section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5rem;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__steps-list li,
  .page-cockfighting__bullet-list li,
  .page-cockfighting__promo-description,
  .page-cockfighting__feature-description,
  .page-cockfighting__feature-icons-description,
  .page-cockfighting__faq-answer p {
    font-size: 0.95rem;
  }
  .page-cockfighting__feature-list,
  .page-cockfighting__promo-grid,
  .page-cockfighting__feature-icons-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__platform-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 25px 10px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: 1.6rem;
  }
  .page-cockfighting__sub-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__feature-icons-title {
    font-size: 1.2rem;
  }
}