.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-cockfighting__tagline {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

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

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

.page-cockfighting__btn-primary {
  background: var(--button-bg);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px var(--glow-color-shadow);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--glow-color-shadow);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--deep-green-hover);
  color: var(--text-main);
}

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

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

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

.page-cockfighting__introduction-section,
.page-cockfighting__game-types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__features-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-cockfighting__introduction-section h2,
.page-cockfighting__game-types-section h2,
.page-cockfighting__strategy-section h2,
.page-cockfighting__features-section h2,
.page-cockfighting__conclusion-section h2 {
  color: var(--text-main);
}

.page-cockfighting__introduction-section p,
.page-cockfighting__game-types-section p,
.page-cockfighting__strategy-section p,
.page-cockfighting__features-section p,
.page-cockfighting__conclusion-section p {
  color: var(--text-secondary);
}

.page-cockfighting__video-section {
  padding: 60px 0;
  background-color: var(--bg-color);
  text-align: center;
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

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

.page-cockfighting__card,
.page-cockfighting__promo-card,
.page-cockfighting__step-card,
.page-cockfighting__strategy-item,
.page-cockfighting__feature-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__strategy-item:hover,
.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image,
.page-cockfighting__promo-image,
.page-cockfighting__step-image,
.page-cockfighting__strategy-image,
.page-cockfighting__feature-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-cockfighting__card-title,
.page-cockfighting__promo-title,
.page-cockfighting__step-title,
.page-cockfighting__strategy-title,
.page-cockfighting__feature-title {
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-cockfighting__card-text,
.page-cockfighting__promo-text,
.page-cockfighting__step-text,
.page-cockfighting__strategy-text,
.page-cockfighting__feature-text {
  color: var(--text-secondary);
  font-size: 0.95em;
  flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary,
.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
  margin-top: 20px;
  width: calc(100% - 30px); /* Adjust for padding in mobile */
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__how-to-play-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

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

.page-cockfighting__strategy-item {
  text-align: center;
}

.page-cockfighting__features-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

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

.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background: var(--card-bg);
  transition: background 0.3s ease;
  list-style: none;
}

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

.page-cockfighting__faq-question:hover {
  background: var(--deep-green-hover);
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  text-align: justify;
}

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

/* Custom Colors */
:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --button-bg: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bg-color: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --glow-color-shadow: rgba(87, 227, 141, 0.4);
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --deep-green-hover: rgba(17, 168, 78, 0.2); /* Lighter shade for hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: 30px;
    padding: 15px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting__cta-buttons {
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
  }

  .page-cockfighting__content-area {
    padding: 30px 20px;
  }

  .page-cockfighting__cards-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__features-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-content {
    margin-top: 20px;
    padding: 15px;
  }

  .page-cockfighting__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-cockfighting__tagline {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__section-title {
    font-size: 1.5em;
    margin-bottom: 25px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .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__content-area {
    padding: 25px 15px;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__video-container {
    padding-bottom: 65%; /* Adjust for common mobile aspect ratio */
  }

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

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 0.95em;
  }

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

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.5em;
  }

  .page-cockfighting__section-title {
    font-size: 1.3em;
  }

  .page-cockfighting__hero-content {
    padding: 10px;
  }

  .page-cockfighting__cta-buttons {
    gap: 8px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 0.9em;
    padding: 10px 12px !important;
  }
}