/* style/cockfighting.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000;
  --bg-light: #f9f9f9;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark (#000) */
  background-color: var(--bg-dark); /* Ensure consistency with shared.css body */
}

.page-cockfighting__hero-section {
  padding: 120px 20px 60px; /* Desktop: Adjust padding-top for fixed header */
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

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

.page-cockfighting__main-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  font-weight: bold;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-cockfighting__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-cockfighting__about-section,
.page-cockfighting__how-to-section,
.page-cockfighting__promotions-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-cockfighting__text-block {
  flex: 1;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-light);
}

.page-cockfighting__image-block {
  flex: 1;
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__dark-bg {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
  color: var(--primary-color);
}

.page-cockfighting__dark-bg .page-cockfighting__section-description {
  color: var(--text-light);
}

.page-cockfighting__features-grid,
.page-cockfighting__steps-grid,
.page-cockfighting__promo-cards,
.page-cockfighting__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__feature-item,
.page-cockfighting__step-item,
.page-cockfighting__promo-card,
.page-cockfighting__security-item {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
}

.page-cockfighting__feature-item:hover,
.page-cockfighting__step-item:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__feature-icon,
.page-cockfighting__step-icon,
.page-cockfighting__security-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__promo-title,
.page-cockfighting__security-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-item p,
.page-cockfighting__step-item p,
.page-cockfighting__promo-card p,
.page-cockfighting__security-item p {
  font-size: 1em;
  color: var(--text-light);
  flex-grow: 1;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
  background: #e6c200;
}

.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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

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

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

.page-cockfighting__tip-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
}

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

.page-cockfighting__security-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-cockfighting__security-features {
  margin-top: 50px;
}

.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 3em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 100px 15px 40px; /* Mobile: Adjust padding-top for fixed header */
  }

  .page-cockfighting__main-title {
    font-size: 2.5em;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-cockfighting__cta-button {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__how-to-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__dark-bg,
  .page-cockfighting__tips-section,
  .page-cockfighting__security-section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 20px;
  }

  .page-cockfighting__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-cockfighting__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95em;
  }

  .page-cockfighting__image {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-cards,
  .page-cockfighting__security-features,
  .page-cockfighting__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__security-item,
  .page-cockfighting__tip-item {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .page-cockfighting__feature-icon,
  .page-cockfighting__step-icon,
  .page-cockfighting__security-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__step-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__security-title,
  .page-cockfighting__tip-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-cockfighting__btn-small {
    padding: 8px 20px;
    font-size: 0.9em;
  }

  .page-cockfighting__promo-image {
    height: 150px;
    border-radius: 6px;
  }

  .page-cockfighting__cta-center {
    margin-top: 40px;
    padding: 0 15px;
  }
}

/* Ensure all images are responsive and do not overflow */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__section,
.page-cockfighting__card,
.page-cockfighting__container,
.page-cockfighting__content-wrapper,
.page-cockfighting__image-block,
.page-cockfighting__feature-item,
.page-cockfighting__step-item,
.page-cockfighting__promo-card,
.page-cockfighting__security-item,
.page-cockfighting__tip-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__how-to-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__dark-bg,
  .page-cockfighting__tips-section,
  .page-cockfighting__security-section,
  .page-cockfighting__container,
  .page-cockfighting__content-wrapper,
  .page-cockfighting__image-block,
  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__security-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Ensure padding-top for mobile is correctly set */
  .page-cockfighting__hero-section {
    padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
  }

  /* Buttons specific mobile styles */
  .page-cockfighting__cta-button, .page-cockfighting__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}