/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #1a1a2e, so text should be light */
  background-color: transparent; /* Inherit from body or shared.css */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfighting__text-block p {
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-cockfighting__inline-link {
  color: #FFFF00; /* Use a contrasting color for inline links */
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__inline-link:hover {
  text-decoration: underline;
}

.highlight-keyword {
  color: #FFFF00;
  font-weight: bold;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.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.7);
  z-index: 2;
}

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

.page-cockfighting__hero-title {
  font-size: 3.8em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFF00; /* Highlight title with yellow */
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

/* Image styles */
.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__image-centered {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Advantages Section */
.page-cockfighting__dark-section {
  background-color: #017439; /* Main brand color for dark sections */
  color: #ffffff;
  padding: 60px 0;
}

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

.page-cockfighting__advantage-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__advantage-card .page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-cockfighting__advantage-card p {
  color: #f0f0f0;
}

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

.page-cockfighting__step-card {
  background: rgba(255, 255, 255, 0.05); /* Darker card for lighter section */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-cockfighting__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__step-card .page-cockfighting__card-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-cockfighting__step-card p {
  color: #f0f0f0;
}

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

.page-cockfighting__bet-type-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__bet-type-card .page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-cockfighting__bet-type-card p {
  color: #f0f0f0;
}