.page-cockfighting {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --card-bg-color: #11271B;
  --bg-color: #08160F;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;

  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--bg-color); /* Body background handled by shared.css, this is for main content area */
}

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

.page-cockfighting__section-spacing {
  padding: 60px 0;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-cockfighting__description {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-secondary-color);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  color: var(--gold-color);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  color: var(--text-main-color);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main-color);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-cockfighting__btn-secondary {
  background: var(--card-bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 3px 10px rgba(17, 168, 78, 0.3);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.5);
}

/* General Content Grid */
.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-secondary-color);
}

.page-cockfighting__text-block strong {
  color: var(--text-main-color);
}

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

.page-cockfighting__image-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-cockfighting__image-spacing {
  margin-top: 40px;
}

/* Dark Section */
.page-cockfighting__dark-section {
  background-color: var(--deep-green-color);
}

/* Features Grid */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

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

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

.page-cockfighting__feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

.page-cockfighting__image-card {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

/* Guide Steps */
.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .page-cockfighting__guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-cockfighting__guide-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-cockfighting__step-card {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--primary-color);
}

.page-cockfighting__step-card p {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Betting Types */
.page-cockfighting__betting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .page-cockfighting__betting-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-cockfighting__betting-type-card {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-cockfighting__betting-type-card p {
  color: var(--text-secondary-color);
}

/* Tips Section */
.page-cockfighting__tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .page-cockfighting__tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-cockfighting__tips-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-cockfighting__tip-card {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__tip-card p {
  color: var(--text-secondary-color);
}

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

/* Promotions Section */
.page-cockfighting__promotions-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-cockfighting__promotions-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__promotion-list li {
  background-color: rgba(var(--primary-color-rgb), 0.1);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: var(--text-main-color);
  position: relative;
  padding-left: 35px;
  border-left: 3px solid var(--primary-color);
}

.page-cockfighting__promotion-list li::before {
  content: '✔️';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg-color);
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main-color);
  cursor: pointer;
  list-style: none;
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: var(--gold-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-cockfighting__section-spacing {
    padding: 40px 0;
  }

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2rem;
  }

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

  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100%;
    max-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__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__description {
    font-size: 1rem;
  }

  .page-cockfighting__text-block p,
  .page-cockfighting__feature-card p,
  .page-cockfighting__step-card p,
  .page-cockfighting__betting-type-card p,
  .page-cockfighting__tip-card p,
  .page-cockfighting__promotions-content p,
  .page-cockfighting__promotion-list li,
  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
  }

  .page-cockfighting__card-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  /* Mobile image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-block,
  .page-cockfighting__image-card,
  .page-cockfighting__image-full {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__text-block,
  .page-cockfighting__image-block,
  .page-cockfighting__image-card,
  .page-cockfighting__image-full,
  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is a small decor padding */
  }

  /* Ensure no horizontal scroll for any content */
  .page-cockfighting {
    overflow-x: hidden;
  }
}

/* Custom property for primary color RGB for rgba usage */
:root {
  --primary-color-rgb: 17, 168, 78; /* RGB for #11A84E */
}

/* Base styles for card */
.page-cockfighting__card {
  background: var(--card-bg-color);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

/* Ensure contrast for general text */
.page-cockfighting p,
.page-cockfighting li {
  color: var(--text-secondary-color);
}

/* Ensure contrast for titles */
.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3,
.page-cockfighting h4,
.page-cockfighting h5,
.page-cockfighting h6 {
  color: var(--text-main-color);
}

.page-cockfighting__section-title {
  color: var(--text-main-color);
}

.page-cockfighting__hero-title {
  color: var(--gold-color);
}

.page-cockfighting__card-title {
  color: var(--gold-color);
}

.page-cockfighting__step-number {
  color: var(--primary-color);
}

/* Button text contrast */
.page-cockfighting__btn-primary {
  color: var(--text-main-color);
}

.page-cockfighting__btn-secondary {
  color: var(--primary-color);
}

.page-cockfighting__btn-secondary:hover {
  color: var(--text-main-color);
}

/* No filter on images */
.page-cockfighting img {
  filter: none !important;
}