:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --bg-color-main: #0D0E12;
  --bg-color-card: #17191F;
  --text-color-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  --button-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  --header-offset: 122px; /* Placeholder, actual value from shared.css */
}

/* Base styles for the page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-main); /* Default text color for dark background */
  background-color: var(--bg-color-main); /* Dark background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}
.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for content area */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-cockfighting__hero-content {
  position: relative;
  padding: 40px 15px;
  text-align: center;
  max-width: 900px;
  margin: -100px auto 0; /* Pull content up over image slightly */
  background: rgba(13, 14, 18, 0.85); /* Darker background for readability */
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  z-index: 10;
  border: 1px solid var(--border-color);
}

.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255,140,26,0.6);
}

.page-cockfighting__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  color: var(--text-color-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for dark button */
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255,140,26,0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,140,26,0.6);
  opacity: 0.9;
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255,140,26,0.2);
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,140,26,0.4);
  background: var(--primary-color);
  color: #ffffff;
}

/* Intro Section (dark background) */
.page-cockfighting__dark-section {
  background-color: var(--bg-color-card); /* Using card bg for dark sections */
  padding: 60px 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.page-cockfighting__dark-section .page-cockfighting__text-block {
  color: var(--text-color-main);
}
.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: var(--primary-color);
}

/* Light Background Section */
.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
  border: 1px solid #e0e0e0;
}
.page-cockfighting__light-bg .page-cockfighting__card-title,
.page-cockfighting__light-bg .page-cockfighting__card-description {
  color: #333333;
}

/* Features Section & Types Section */
.page-cockfighting__features-section,
.page-cockfighting__types-section,
.page-cockfighting__responsible-gambling {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__type-card {
  background-color: var(--bg-color-card);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-color-main);
}
.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-cockfighting__feature-icon,
.page-cockfighting__type-image {
  width: 100%; /* Max width for image in card */
  height: auto;
  max-height: 200px; /* Limit height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-cockfighting__card-description {
  font-size: 16px;
  color: var(--text-color-main);
}

/* Betting Options Section */
.page-cockfighting__betting-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__betting-item {
  background-color: var(--bg-color-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.page-cockfighting__betting-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-cockfighting__betting-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-cockfighting__betting-description {
  font-size: 16px;
  color: var(--text-color-main);
}

/* How-to-Play Section */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}