/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#1a1a1a), so use light text */
  background-color: #1a1a1a; /* Ensure consistency with body background */
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Auxiliary color for titles */
}

.page-cockfighting__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__dark-section {
  background-color: #0A246A; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding in element's total width and height */
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #0A246A; /* Main brand color for text */
  border: 2px solid #FFD700;
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Auxiliary color */
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A246A;
}

.page-cockfighting__btn-text {
  background: none;
  border: none;
  color: #FFD700;
  padding: 8px 0;
  font-size: 16px;
  text-decoration: underline;
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

/* HERO SECTION */
.page-cockfighting__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Apply header offset here */
  padding-bottom: 60px;
  background-color: #1a1a1a; /* Background matches body */
  color: #ffffff;
}

.page-cockfighting__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfighting__hero-content {
  flex: 1;
  text-align: left;
}

.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for main title */
}

.page-cockfighting__description {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__hero-image {
  flex: 1;
  max-width: 50%;
  text-align: center;
}

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

/* ABOUT SECTION */
.page-cockfighting__about-section {
  padding: 80px 0;
}

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

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark bg */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-item img {
  max-width: 100%;
  height: auto;
   /* Example fixed width for feature icons */
   /* Example fixed height for feature icons */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-cockfighting__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

/* GAMEPLAY SECTION */
.page-cockfighting__gameplay-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-cockfighting__game-type-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark bg */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  text-align: center;
}

.page-cockfighting__game-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__game-type-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  object-fit: cover;
  display: block;
}

.page-cockfighting__game-type-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 15px 10px;
  color: #FFD700;
}

.page-cockfighting__game-type-card p {
  padding: 0 15px 20px;
  font-size: 16px;
  color: #f0f0f0;
}

/* GUIDE SECTION */
.page-cockfighting__guide-section {
  padding: 80px 0;
}

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

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark bg */
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__step-number {
  font-size: 60px;
  font-weight: bold;
  color: rgba(255, 215, 0, 0.2); /* Faded auxiliary color */
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}