.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

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

.page-cockfighting__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #ffffff; /* Brand auxiliary color for light sections */
  color: #333333;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section for contrast */
  font-weight: bold;
}

.page-cockfighting__subsection-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-cockfighting__text-block {
  text-align: left;
}

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

.page-cockfighting__text-block ul {
  list-style: disc inside;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-cockfighting__text-block li {
  margin-bottom: 8px;
}

.page-cockfighting__image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 100px 0;
}

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

.page-cockfighting__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover; /* Ensures video covers the area */
  cursor: pointer;
}

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

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

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

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e02c2c;
  border-color: #e02c2c;
  color: #ffffff;
}

.page-cockfighting__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

/* Grid Layouts */
.page-cockfighting__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

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

.page-cockfighting__game-card,
.page-cockfighting__promo-card,
.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-cockfighting__light-bg .page-cockfighting__game-card,
.page-cockfighting__light-bg .page-cockfighting__promo-card,
.page-cockfighting__light-bg .page-cockfighting__step-card {
  background-color: #f9f9f9;
  color: #333333;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__game-card p,
.page-cockfighting__promo-card p,
.page-cockfighting__step-card p {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin-top: auto; /* Push button to bottom */
}

.page-cockfighting__cta-block {
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.3); /* Darker background for CTA */
  border-radius: 10px;
  color: #ffffff;
}