:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--background-color);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  background-color: var(--background-color);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it doesn't overflow */
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  padding: 40px 20px 0;
  max-width: 800px;
  width: 100%; /* Ensure it doesn't collapse */
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 */
  font-weight: bold;
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt */
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--background-color);
}

.page-cockfighting__btn-small {
  padding: 8px 15px;
  font-size: 0.9rem;
  border-radius: 5px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
  display: inline-block; /* For card buttons */
  margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-cockfighting__dark-section {
  background-color: var(--card-bg-color);
  padding: 60px 0;
}

/* About Section Specifics */
.page-cockfighting__about-section {
  padding: 60px 0;
}

.page-cockfighting__image-text-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 10px;
}

.page-cockfighting__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-cockfighting__text-content {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__sub-title {
  font-size: 1.8rem;
  color: var(--text-main-color);
  margin-bottom: 20px;
}

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
}

.page-cockfighting__feature-list li {
  font-size: 1rem;
  color: var(--text-secondary-color);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-cockfighting__feature-list li::before {
  content: '✓';
  color: var(--glow-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: var(--text-main-color);
  margin-bottom: 10px;
}

.page-cockfighting__card-description {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
  flex-grow: 1;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
}

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