.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF5E1); /* Default text color for the page */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--bg-color, #B71C1C);
  color: var(--text-main-color, #FFF5E1);
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-cockfighting__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video to improve text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color, #F4D34D);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-main-color, #FFF5E1);
  margin-bottom: 30px;
}

.page-cockfighting__section {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting__dark-bg {
  background: var(--bg-color, #B71C1C);
  color: var(--text-main-color, #FFF5E1);
}

.page-cockfighting__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section */
}
.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: var(--gold-color, #F4D34D);
}
.page-cockfighting__light-bg .page-cockfighting__section-title {
    color: var(--deep-red-color, #7A0E0E);
}

.page-cockfighting__section-description,
.page-cockfighting__text-block {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
  color: inherit;
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

.page-cockfighting__cta-buttons--left {
  justify-content: flex-start;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red text on gold button */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background: var(--card-bg-color, #D32F2F);
  color: var(--text-main-color, #FFF5E1);
  border: 2px solid var(--border-color, #F2B544);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--deep-red-color, #7A0E0E);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  background: var(--gold-color, #F4D34D);
  color: var(--deep-red-color, #7A0E0E);
  border: none;
  margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
  background: var(--glow-color, #FFCC66);
  transform: translateY(-1px);
}

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

.page-cockfighting__feature-item,
.page-cockfighting__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--deep-red-color, #7A0E0E);
}

.page-cockfighting__feature-text,
.page-cockfighting__step-text {
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  flex-grow: 1;
}

.page-cockfighting__step-number {
  width: 50px;
  height: 50px;
  background: var(--gold-color, #F4D34D);
  color: var(--deep-red-color, #7A0E0E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__bet-card {
  background: var(--card-bg-color, #D32F2F);
  color: var(--text-main-color, #FFF5E1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-cockfighting__card-text {
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  flex-grow: 1;
}

.page-cockfighting__tips-security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  text-align: left;
}

.page-cockfighting__tips-block,
.page-cockfighting__security-block {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color, #FFF5E1);
}

.page-cockfighting__tips-block .page-cockfighting__section-title,
.page-cockfighting__security-block .page-cockfighting__section-title {
  color: var(--gold-color, #F4D34D);
  text-align: left;
}

.page-cockfighting__tips-block .page-cockfighting__section-description,
.page-cockfighting__security-block .page-cockfighting__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-cockfighting__tip-list,
.page-cockfighting__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tip-item,
.page-cockfighting__security-item {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
}

.page-cockfighting__tip-item::before,
.page-cockfighting__security-item::before {
  content: '✓';
  color: var(--gold-color, #F4D34D);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-cockfighting__tip-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--glow-color, #FFCC66);
  margin-bottom: 5px;
}

.page-cockfighting__tip-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-cockfighting__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 30px;
}

/* Conclusion Section */
.page-cockfighting__conclusion .page-cockfighting__section-title {
  color: var(--deep-red-color, #7A0E0E);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  }
  .page-cockfighting__tips-security-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-cockfighting__tips-block,
  .page-cockfighting__security-block {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1rem !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__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-cockfighting__section-description,
  .page-cockfighting__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .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;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__feature-item,
  .page-cockfighting__bet-card,
  .page-cockfighting__step-item {
    padding: 20px;
  }
  .page-cockfighting__tips-block,
  .page-cockfighting__security-block {
    padding: 20px;
  }
  .page-cockfighting__tip-item,
  .page-cockfighting__security-item {
    padding-left: 25px;
  }
  .page-cockfighting__tip-item::before,
  .page-cockfighting__security-item::before {
    font-size: 0.9rem;
  }
}