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

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

.page-cockfighting__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-cockfighting__center-align {
  text-align: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px; /* Base padding */
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  overflow: hidden;
  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);
  z-index: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: #ffffff;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-cockfighting__hero-buttons {
  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;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Section common styles */
.page-cockfighting__content-section {
  padding: 60px 0;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

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

.page-cockfighting__image-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-cockfighting__image-item .page-cockfighting__image {
  border-radius: 8px;
  margin-bottom: 15px;
  width: 100%;
  height: auto;
  display: block;
}

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

.page-cockfighting__image-description {
  font-size: 1em;
  color: inherit;
}

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

.page-cockfighting__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__step-description {
  font-size: 1em;
  margin-bottom: 15px;
}

.page-cockfighting__steps .page-cockfighting__image {
  border-radius: 8px;
  margin-top: 20px;
  width: 100%;
  height: auto;
  display: block;
}

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

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: inherit;
}

.page-cockfighting__feature-description {
  font-size: 0.95em;
  color: inherit;
}

.page-cockfighting__center-align .page-cockfighting__image {
  margin-top: 40px;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Tips List */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tip-item {
  background-color: #f9f9f9;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.page-cockfighting__tip-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #017439;
}

/* Promo List */
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__promo-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  color: #ffffff;
}

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

/* App Download Section */
.page-cockfighting__app-download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-cockfighting__app-info {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__app-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__app-description {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-cockfighting__app-image-wrapper {
  flex: 1;
  min-width: 250px;
  text-align: center;
}