/* style/cockfighting.css */

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark, #333333); /* Default to dark text for light background */
  background-color: var(--background-color, #ffffff);
}

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

.page-cockfighting__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-cockfighting__section:last-of-type {
  border-bottom: none;
}

.page-cockfighting__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-cockfighting__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-cockfighting__text-center {
  text-align: center;
}

.page-cockfighting__highlight {
  font-weight: bold;
  color: var(--primary-color);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #26A9E0 0%, #a3d9f2 100%); /* Light blue gradient */
  color: var(--text-color-light);
  overflow: hidden; /* Prevent content overflow */
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #EA7C07; /* Login color for primary CTA */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  background: #ff8c00;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-cockfighting__introduction {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

/* Game Types Section */
.page-cockfighting__game-types {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-cockfighting__game-types .page-cockfighting__section-title,
.page-cockfighting__game-types .page-cockfighting__text-block {
  color: var(--text-color-light);
}

.page-cockfighting__game-types .page-cockfighting__highlight {
  color: var(--secondary-color);
}

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

.page-cockfighting__card {
  background: var(--secondary-color);
  color: var(--text-color-dark);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure images are responsive */
  display: block; /* Remove extra space below image */
}

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

.page-cockfighting__card-text {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* Registration Guide Section */
.page-cockfighting__registration-guide {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

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

.page-cockfighting__step-item {
  background: #f0f8ff; /* Light blue background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-cockfighting__step-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--text-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__step-text {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.page-cockfighting__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* Promotions Section */
.page-cockfighting__promotions {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-cockfighting__promotions .page-cockfighting__section-title,
.page-cockfighting__promotions .page-cockfighting__text-block {
  color: var(--text-color-light);
}

.page-cockfighting__promotions .page-cockfighting__highlight {
  color: var(--secondary-color);
}

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