.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark background */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Video Section */
.page-cockfighting__video-section {
  padding: 60px 20px;
  background: var(--dark-bg); /* Inherit dark background */
  color: #ffffff;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 30px;
  background: #000; /* Fallback for video */
}

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

.page-cockfighting__video-link {
    display: block; /* Ensure the link covers the video area */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 10; /* Ensure link is clickable */
}

.page-cockfighting__video-link video {
    pointer-events: none; /* Make video non-interactive to allow link click */
}


/* General Section Styles */
.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Light Background Sections for readability */
.page-cockfighting__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__light-bg .page-cockfighting__section-description {
  color: #555555;
}

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

.page-cockfighting__light-bg a {
    color: #26A9E0;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
}

.page-cockfighting__image-block {
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element for max-width */
  margin: 0 auto; /* Center image */
}

.page-cockfighting__image-block--full-width .page-cockfighting__image {
    width: 100%;
    max-width: 100%;
}

.page-cockfighting__image-block--center {
    text-align: center;
    margin-top: 40px;
}


/* Bet Types Section */
.page-cockfighting__bet-types-section {
  padding: 80px 0;
  background: var(--dark-bg);
  color: #ffffff;
}

.page-cockfighting__bet-types-section .page-cockfighting__section-title {
    color: #26A9E0;
}
.page-cockfighting__bet-types-section .page-cockfighting__section-description {
    color: #f0f0f0;
}

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

.page-cockfighting__card {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: #555555;
}

/* Rules Section */
.page-cockfighting__rules-section {
  padding: 80px 0;
}

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

.page-cockfighting__rules-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__rules-subtitle {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__rules-item ul {
  list-style-type: disc;
  margin-left: 20px;
}

.page-cockfighting__rules-item li {
  margin-bottom: 8px;
  color: #555555;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background: var(--dark-bg);
  color: #ffffff;
}

.page-cockfighting__guide-section .page-cockfighting__section-title {
    color: #26A9E0;
}
.page-cockfighting__guide-section .page-cockfighting__section-description {
    color: #f0f0f0;
}
.page-cockfighting__guide-section .page-cockfighting__guide-step p {
    color: #f0f0f0;
}
.page-cockfighting__guide-section .page-cockfighting__guide-step a {
    color: #26A9E0;
}

.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__guide-step {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  transition: background 0.3s ease;
}

.page-cockfighting__guide-step:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: #26A9E0;
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-cockfighting__step-title {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 80px 0;
}

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

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

.page-cockfighting__advantage-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px; /* Ensure images are not small icons and have some styling */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__advantage-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-item p {
  color: #555555;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: 80px 0;
  background: var(--dark-bg);
  color: #ffffff;
}

.page-cockfighting__strategy-section .page-cockfighting__section-title {
    color: #26A9E0;
}
.page-cockfighting__strategy-section .page-cockfighting__section-description {
    color: #f0f0f0;
}