/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is for visual spacing */
  overflow: hidden;
  color: var(--text-main);
  background-color: var(--deep-green);
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-main);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  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: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--border-color);
  color: var(--background);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: var(--background);
  color: var(--text-main);
}

.page-cockfighting__game-types-section,
.page-cockfighting__features-section,
.page-cockfighting__responsible-gaming-section,
.page-cockfighting__call-to-action-section {
  padding: 80px 0;
  background-color: var(--card-b-g);
  color: var(--text-main);
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-cockfighting__section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__card {
  background-color: var(--background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 20px 20px 10px;
}

.page-cockfighting__card-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__card-title a:hover {
  color: var(--glow);
}

.page-cockfighting__card-description {
  font-size: 0.95rem;
  padding: 0 20px 20px;
  color: var(--text-secondary);
}

.page-cockfighting__card-button {
  margin: 0 20px 20px;
  text-align: center;
}

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

.page-cockfighting__step-card {
  background-color: var(--card-b-g);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-cockfighting__step-description {
  font-size: 1rem;
  margin-bottom: 25px;
  color: var(--text-secondary);
}

.page-cockfighting__guidance-text {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 40px;
  color: var(--text-secondary);
}

.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-cockfighting__feature-item {
  background-color: var(--background);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

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

.page-cockfighting__promo-card {
  text-align: left;
}

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

.page-cockfighting__promo-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-cockfighting__promo-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__promo-title a:hover {
  color: var(--glow);
}

.page-cockfighting__promo-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  padding: 0 20px;
  color: var(--text-secondary);
}

.page-cockfighting__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting__responsible-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-cockfighting__mt-40 {
  margin-top: 40px;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: var(--card-b-g);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--deep-green);
  color: var(--text-main);
  border-bottom: 1px solid var(--divider);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

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

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
}

.page-cockfighting__call-to-action-section {
  text-align: center;
  padding: 100px 0;
  background-color: var(--deep-green);
  color: var(--text-main);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting__grid-two-columns {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-block {
    order: -1;
  }
  .page-cockfighting__hero-content {
    padding: 20px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__features-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__responsible-gaming-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__call-to-action-section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__section-subtitle {
    margin-bottom: 30px;
  }

  /* Image responsive rules */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__hero-image {
    height: 400px !important; /* Adjust hero image height for mobile */
  }

  /* Container responsive rules */
  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__grid-cards,
  .page-cockfighting__steps-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__responsible-features,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button responsive rules */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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 !important; /* Stack buttons vertically */
    gap: 15px !important;
  }
  
  .page-cockfighting__faq-question {
    font-size: 1rem;
  }

  .page-cockfighting__faq-answer {
    font-size: 0.9rem;
  }
  
  /* Ensure no content area image is smaller than 200px */
  .page-cockfighting__introduction-section img,
  .page-cockfighting__game-types-section img,
  .page-cockfighting__promotions-section img,
  .page-cockfighting__features-section img,
  .page-cockfighting__responsible-gaming-section img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-cockfighting__feature-icon {
    width: 80px !important;
    height: 80px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: 0.95rem;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .page-cockfighting__step-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.8rem;
  }
  .page-cockfighting__step-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__card-title {
    font-size: 1.2rem;
  }
}