.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the main content area */
}

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

/* Dark background sections */
.page-cockfighting__dark-bg {
  background-color: var(--primary-color, #0A192F);
  color: #ffffff; /* White text for dark backgrounds */
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light backgrounds */
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: inherit; /* Inherit color from parent section */
}

.page-cockfighting__section-text {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: inherit;
}

.page-cockfighting__text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 15px;
  color: inherit;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small,
.page-cockfighting__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-cockfighting__btn-primary {
  background-color: var(--secondary-color, #FFD700);
  color: var(--primary-color, #0A192F);
  border: 2px solid var(--secondary-color, #FFD700);
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200; /* Darker gold */
  border-color: #e6c200;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color, #FFD700);
  border: 2px solid var(--secondary-color, #FFD700);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--secondary-color, #FFD700);
  color: var(--primary-color, #0A192F);
}

.page-cockfighting__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: var(--secondary-color, #FFD700);
  color: var(--primary-color, #0A192F);
  border: none;
  border-radius: 3px;
}

.page-cockfighting__btn-small:hover {
  background-color: #e6c200;
}

.page-cockfighting__btn-link {
  color: var(--secondary-color, #FFD700);
  text-decoration: underline;
  padding: 0;
  background: none;
  border: none;
}

.page-cockfighting__btn-link:hover {
  color: #ffe033; /* Lighter gold */
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-cockfighting__hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
  padding-right: 40px;
}

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

.page-cockfighting__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-align: left;
}

.page-cockfighting__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-cockfighting__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 0;
}

.page-cockfighting__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__image-content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-cockfighting__image-box {
  flex: 1;
}

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

.page-cockfighting__text-box {
  flex: 1;
}

/* Why Kubet 89 Section */
.page-cockfighting__why-kubet89-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-cockfighting__feature-card {
  background-color: #1a2a47; /* Slightly lighter dark background for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-cockfighting__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color, #FFD700);
}

.page-cockfighting__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-cockfighting__cta-section {
  margin-top: 50px;
  text-align: center;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-cockfighting__type-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-cockfighting__type-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-cockfighting__type-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color, #0A192F);
}

.page-cockfighting__type-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-cockfighting__text-highlight {
  font-weight: bold;
  color: var(--primary-color, #0A192F);
  margin-top: 30px;
}

/* How to Bet Section */
.page-cockfighting__how-to-bet-section {
  padding: 80px 0;
  text-align: center;
}

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