/* style/cockfighting.css */

/* Custom Colors */
:root {
  --mm88dd-primary-color: #11A84E;
  --mm88dd-secondary-color: #22C768;
  --mm88dd-bg-dark: #08160F;
  --mm88dd-card-bg: #11271B;
  --mm88dd-text-main: #F2FFF6;
  --mm88dd-text-secondary: #A7D9B8;
  --mm88dd-border: #2E7A4E;
  --mm88dd-glow: #57E38D;
  --mm88dd-gold: #F2C14E;
  --mm88dd-divider: #1E3A2A;
  --mm88dd-deep-green: #0A4B2C;
  --mm88dd-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page-cockfighting class */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--mm88dd-text-main); /* Default text color for dark background */
  background-color: var(--mm88dd-bg-dark); /* Default page background */
  line-height: 1.6;
}

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__dark-section {
  background-color: var(--mm88dd-bg-dark);
  color: var(--mm88dd-text-main);
}

.page-cockfighting__light-bg {
  background-color: var(--mm88dd-card-bg);
  color: var(--mm88dd-text-main);
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--mm88dd-gold);
  line-height: 1.2;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--mm88dd-text-secondary);
  text-align: left;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--mm88dd-bg-dark);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px;
}

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

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

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Use clamp for H1 */
  font-weight: 900;
  color: var(--mm88dd-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--mm88dd-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background: var(--mm88dd-secondary-color);
  color: var(--mm88dd-bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(34, 199, 104, 0.2);
}

/* About MM88DD Cockfighting Section */
.page-cockfighting__about-mm88dd-cockfighting .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* How To Play Section */
.page-cockfighting__numbered-list {
  list-style: none;
  counter-reset: my-counter;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-cockfighting__list-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 25px;
  font-size: 1.1em;
  color: var(--mm88dd-text-main);
}

.page-cockfighting__list-item::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: var(--mm88dd-primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
}

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

/* Cockfighting Types Section */
.page-cockfighting__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: var(--mm88dd-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--mm88dd-border);
  color: var(--mm88dd-text-main);
}

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

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

.page-cockfighting__card-title {
  font-size: 1.6em;
  color: var(--mm88dd-gold);
  margin: 20px 20px 10px 20px;
}

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

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

/* Betting Strategy Section */
.page-cockfighting__bullet-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-cockfighting__bullet-list .page-cockfighting__list-item {
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
}

.page-cockfighting__bullet-list .page-cockfighting__list-item::before {
  content: '✔️'; /* Unicode checkmark */
  position: absolute;
  left: 0;
  color: var(--mm88dd-primary-color);
  font-size: 1.2em;
  top: 0;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
}

/* Security Section */
.page-cockfighting__security .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__promo-card {
  background-color: var(--mm88dd-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid var(--mm88dd-border);
  color: var(--mm88dd-text-main);
}

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

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-title {
  font-size: 1.5em;
  color: var(--mm88dd-gold);
  margin: 20px 20px 10px 20px;
}

.page-cockfighting__promo-text {
  font-size: 0.95em;
  color: var(--mm88dd-text-secondary);
  padding: 0 20px 20px 20px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: var(--mm88dd-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--mm88dd-border);
  overflow: hidden;
}

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

.page-cockfighting__faq-question:hover {
  background-color: var(--mm88dd-primary-color);
}

.page-cockfighting__faq-question::marker, /* For Firefox */
.page-cockfighting__faq-question::-webkit-details-marker { /* For Chrome/Safari */
  display: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1.0em;
  color: var(--mm88dd-text-secondary);
  border-top: 1px solid var(--mm88dd-divider);
  background-color: var(--mm88dd-card-bg);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  text-align: left;
}

.page-cockfighting__faq-answer a {
  color: var(--mm88dd-secondary-color);
  text-decoration: underline;
}

/* Final CTA Section */
.page-cockfighting__cta-final .page-cockfighting__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-final .page-cockfighting__cta-buttons {
  margin-top: 30px;
}

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

  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px; /* Add padding for mobile containers */
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  /* Hero Section Mobile */
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0; /* Adjust padding for mobile */
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image Responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__content-image,
  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Card Grid Mobile */
  .page-cockfighting__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card-image {
    height: 200px;
  }

  .page-cockfighting__card-title {
    font-size: 1.4em;
    margin: 15px 15px 8px 15px;
  }

  .page-cockfighting__card-text {
    padding: 0 15px 15px 15px;
  }

  /* Promo Grid Mobile */
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__promo-image {
    height: 180px;
  }

  .page-cockfighting__promo-title {
    font-size: 1.3em;
    margin: 15px 15px 8px 15px;
  }

  .page-cockfighting__promo-text {
    padding: 0 15px 15px 15px;
  }

  /* FAQ Mobile */
  .page-cockfighting__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }

  .page-cockfighting__faq-answer {
    padding: 15px;
    font-size: 0.95em;
  }

  /* List items */
  .page-cockfighting__list-item {
    padding-left: 40px;
    margin-bottom: 20px;
  }

  .page-cockfighting__list-item::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

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