/* style/cockfighting.css */

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

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-main);
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
  margin-bottom: 40px; /* Space between image and text */
}

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

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

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

.page-cockfighting__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  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(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-3px);
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  box-sizing: border-box;
}

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

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

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

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

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

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-cockfighting__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
  grid-area: text;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
  grid-area: image;
}

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

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

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

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

.page-cockfighting__feature-card,
.page-cockfighting__betting-card,
.page-cockfighting__step-card,
.page-cockfighting__promo-card,
.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-cockfighting__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

.page-cockfighting__step-card {
  position: relative;
  padding-top: 60px;
}

.page-cockfighting__step-icon {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  background: var(--button-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__step-card .page-cockfighting__btn-secondary {
  margin-top: 25px;
}

.page-cockfighting__promotions-grid .page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin-top: 25px;
}

.page-cockfighting__text-center {
  text-align: center;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  text-align: left;
  padding: 20px 30px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 0;
  outline: none;
}

.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-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-cockfighting__faq-toggle {
  font-size: 2rem;
  line-height: 1;
  margin-left: 20px;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-top: 15px;
  border-top: 1px solid var(--divider-color);
  margin-top: 15px;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-cockfighting__btn-primary--small {
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 15px;
}

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

/* Responsive styles */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-cockfighting__content-grid--reverse {
    grid-template-areas: "text" "image";
  }

  .page-cockfighting__hero-content {
    padding: 0 15px;
  }

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

  .page-cockfighting__section-description {
    margin-bottom: 40px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 60px 0;
  }
}

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

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

  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__container,
  .page-cockfighting__card,
  .page-cockfighting__image-block,
  .page-cockfighting__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__subtitle {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 25px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

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

  .page-cockfighting__features-grid,
  .page-cockfighting__betting-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-cockfighting__sub-title {
    font-size: 1.6rem;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1.1rem;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.8rem;
  }
}