/* style/cockfighting.css */

/* Custom Colors */
:root {
  --color-primary: #C91F17; /* Main Red */
  --color-accent: #E53935; /* Auxiliary Red */
  --color-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Gold Button */
  --color-card-bg: #D32F2F; /* Card Background Red */
  --color-section-bg: #B71C1C; /* Section Background Red */
  --color-text-main: #FFF5E1; /* Main Text Light Yellow/Cream */
  --color-border: #F2B544; /* Gold Border */
  --color-glow: #FFCC66;
  --color-gold: #F4D34D;
  --color-deep-red: #7A0E0E;
  --color-dark-text-on-light: #333333; /* For button text on bright gold to ensure contrast */
}

/* body padding-top is handled by shared.css var(--header-offset) */
/* This page should not add extra padding-top to its first section based on --header-offset */

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--color-text-main); /* Default text color for the page */
  background-color: var(--color-section-bg); /* Use section background for overall page bg */
  line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--color-deep-red); /* Darker background for hero */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height to prevent excessive scrolling */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px 0;
  max-width: 800px;
}

.page-cockfighting__main-title {
  color: var(--color-gold);
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Use clamp for H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--color-text-main);
}

.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-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure buttons adapt to width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--color-button-gradient);
  color: var(--color-dark-text-on-light); /* Dark text for contrast on gold button */
  border: 2px solid var(--color-gold);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

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

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__cta-buttons--center {
  margin-top: 30px;
  justify-content: center;
}

/* General Section Styles */
.page-cockfighting__introduction-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__features-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  background-color: var(--color-section-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__subsection-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--color-gold);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 500;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.page-cockfighting__text-block a {
  color: var(--color-gold);
  text-decoration: underline;
}

.page-cockfighting__text-block a:hover {
  color: var(--color-glow);
}

.page-cockfighting__highlight {
  color: var(--color-gold);
  font-weight: 600;
}

/* Feature List */
.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.page-cockfighting__feature-item {
  background-color: var(--color-card-bg);
  border-left: 5px solid var(--color-gold);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  color: var(--color-text-main);
}

.page-cockfighting__feature-item strong {
  color: var(--color-gold);
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 60px 0;
  background-color: var(--color-deep-red);
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  margin: 40px auto;
  width: 100%; /* Desktop width: 100% */
}

.page-cockfighting__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

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

.page-cockfighting__bet-type-card {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--color-text-main);
  transition: transform 0.3s ease;
}

.page-cockfighting__bet-type-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__card-title {
  font-size: 1.6rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

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

/* Guide Steps */
.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--color-text-main);
  position: relative;
  overflow: hidden;
}

.page-cockfighting__step-card::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-gold);
  color: var(--color-dark-text-on-light);
  font-size: 2rem;
  font-weight: 700;
  padding: 10px 20px;
  border-bottom-right-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__guide-steps {
  counter-reset: step-counter;
}

.page-cockfighting__step-title {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-top: 50px; /* Adjust for step counter */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: var(--color-text-main);
}

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

.page-cockfighting__promo-card {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--color-text-main);
  transition: transform 0.3s ease;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
}

/* Features Grid */
.page-cockfighting__feature-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none; /* Remove default list style */
  padding: 0;
}

.page-cockfighting__feature-item-grid {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--color-text-main);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-heading {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
  color: var(--color-text-main);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: var(--color-text-main);
}