/* style/cockfighting.css */

/* Variables */
:root {
  --pkbet-primary-color: #26A9E0;
  --pkbet-secondary-color: #FFFFFF;
  --pkbet-login-color: #EA7C07;
  --pkbet-dark-bg: #121212;
  --pkbet-text-light: #ffffff;
  --pkbet-text-dark: #333333;
}

.page-cockfighting {
  color: var(--pkbet-text-light); /* Default text color for dark body background */
  background-color: var(--pkbet-dark-bg); /* Inherited from body, but good to define context */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding for content */
  background-color: var(--pkbet-dark-bg);
  text-align: center;
  overflow: hidden;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--pkbet-text-light);
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pkbet-secondary-color);
  margin-bottom: 20px;
  /* clamp for responsive font-size, avoiding fixed large values */
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--pkbet-secondary-color);
}

.page-cockfighting__section {
  padding: 80px 20px;
}

.page-cockfighting__dark-bg {
  background-color: var(--pkbet-dark-bg);
  color: var(--pkbet-text-light);
}

.page-cockfighting__light-bg {
  background-color: var(--pkbet-secondary-color);
  color: var(--pkbet-text-dark);
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add horizontal padding for content */
  box-sizing: border-box;
}

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

.page-cockfighting__section-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: inherit;
}

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

/* Buttons */
.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;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: darken(var(--pkbet-primary-color), 10%);
  border-color: darken(var(--pkbet-primary-color), 10%);
}

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

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

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

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--pkbet-text-light);
}

.page-cockfighting__light-bg .page-cockfighting__feature-item {
  background-color: var(--pkbet-secondary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: var(--pkbet-text-dark);
  border: 1px solid #e0e0e0;
}

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

.page-cockfighting__feature-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Registration Guide */
.page-cockfighting__registration-guide {
  padding-bottom: 100px;
}

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

.page-cockfighting__step-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(38, 169, 224, 0.1); /* Light primary color background */
  border-radius: 10px;
  color: var(--pkbet-text-light);
}

.page-cockfighting__step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--pkbet-primary-color);
  margin-bottom: 20px;
}

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

.page-cockfighting__step-text {
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting__registration-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

/* Game Types */
.page-cockfighting__type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__type-card {
  background-color: var(--pkbet-secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: var(--pkbet-text-dark);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__type-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--pkbet-primary-color);
}

.page-cockfighting__type-text {
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting__game-types-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--pkbet-text-light);
}

.page-cockfighting__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--pkbet-primary-color);
}

.page-cockfighting__promo-text {
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting__promotions-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsible Gaming */
.page-cockfighting__responsibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__responsibility-item {
  background-color: var(--pkbet-secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: var(--pkbet-text-dark);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__responsibility-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--pkbet-primary-color);
}

.page-cockfighting__responsibility-text {
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting__responsible-gaming-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--pkbet-text-light);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.15); /* Slightly darker primary color background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--pkbet-secondary-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--pkbet-primary-color);
}

.page-cockfighting__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-cockfighting__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: var(--pkbet-primary-color);
}

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

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

/* Conclusion */
.page-cockfighting__conclusion .page-cockfighting__cta-buttons {
  margin-top: 50px;
}

/* Global image styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }
  .page-cockfighting__section {
    padding: 60px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 4rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* General mobile adaptations */
  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
  }
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__section-intro {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  /* Image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Container responsiveness */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button responsiveness */
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__type-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__responsibility-item {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__type-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__responsibility-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 1.3rem;
  }

  /* Ensure video sections have correct padding */
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 0.9rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__type-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__responsibility-item {
    padding: 15px;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__type-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__responsibility-title {
    font-size: 1.2rem;
  }
}