.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6); /* Default text color for dark background */
  background-color: var(--background-color, #0A0A0A); /* Default background color */
}

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

/* HERO Section */
.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; /* Small top padding, body handles header offset */
  overflow: hidden;
  color: #ffffff;
}

.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%; /* Ensure full width on desktop for flex */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color, #3A2A12);
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styles */
.page-cockfighting__section {
  padding: 80px 0;
  text-align: center;
  color: var(--text-main-color, #FFF6D6);
}

.page-cockfighting__section:nth-of-type(even) {
  background-color: var(--card-bg-color, #111111);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-main-color, #FFF6D6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-cockfighting p {
  margin-bottom: 1.2em;
  font-size: 1.05rem;
  color: #e0e0e0;
}

.page-cockfighting__subsection-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--glow-color, #FFD36B);
}

.page-cockfighting__image-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-cockfighting__image-content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__content-block {
  flex: 1;
}

.page-cockfighting__image-block {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #3A2A12);
}

.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__image-centered {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #3A2A12);
}

.page-cockfighting__image-centered img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

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

.page-cockfighting__card {
  background: var(--card-bg-color, #111111);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--border-color, #3A2A12);
  color: var(--text-main-color, #FFF6D6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--glow-color, #FFD36B);
}

/* Guide Section */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__step-item {
  background: var(--card-bg-color, #111111);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color, #3A2A12);
  color: var(--text-main-color, #FFF6D6);
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--glow-color, #FFD36B);
}

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

/* Promotions Section */
.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding-bottom: 80px;
  background-color: var(--card-bg-color, #111111);
}

.page-cockfighting__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #3A2A12);
  overflow: hidden;
  background: var(--background-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
}

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, color 0.3s ease;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--glow-color, #FFD36B);
}

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(--glow-color-rgb, 255, 211, 107), 0.1);
  color: #ffffff;
}

.page-cockfighting__faq-qtext {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-main-color, #FFF6D6);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  background: var(--card-bg-color, #111111);
  border-radius: 0 0 8px 8px;
  color: #e0e0e0;
  text-align: left;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__image-content-wrapper {
    flex-direction: column;
  }

  .page-cockfighting__image-content-wrapper--reverse {
    flex-direction: column;
  }
}

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

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

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

  .page-cockfighting__section {
    padding: 50px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 30px;
  }

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

  .page-cockfighting__subsection-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-cockfighting__image-block,
  .page-cockfighting__image-centered {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .page-cockfighting__image-block img,
  .page-cockfighting__image-centered img,
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__betting-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-item {
    padding: 25px;
  }

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

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

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