/* style/cockfighting.css */

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

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

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

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

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

.page-cockfighting__light-bg {
  background-color: #0A1C14; /* A slightly lighter dark green for contrast */
  color: var(--text-main-color);
}

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color); /* Using gold for titles for emphasis */
}

.page-cockfighting__section-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-secondary-color);
}

.page-cockfighting__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: var(--primary-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(42, 209, 111, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--page-bg-color);
  transform: translateY(-2px);
}

.page-cockfighting__btn-text {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding: 10px 0 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
  margin-bottom: 40px; /* Space between image and content */
}

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

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

.page-cockfighting__main-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 40px;
  color: var(--text-main-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Why Choose Section */
.page-cockfighting__why-choose {
  padding: 80px 0;
}

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

.page-cockfighting__feature-item {
  text-align: center;
  padding: 30px;
}

.page-cockfighting__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px; /* Adjust size for icons within cards */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-cockfighting__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-cockfighting__feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

/* How To Play Section */
.page-cockfighting__how-to-play {
  padding: 80px 0;
}

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

.page-cockfighting__step-item {
  text-align: center;
  padding: 30px;
  align-items: center;
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--glow-color);
  color: var(--deep-green-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 900;
  margin: 0 auto 20px;
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-cockfighting__step-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
  flex-grow: 1;
}

.page-cockfighting__cta-bottom {
  margin-top: 60px;
}

/* Bet Types Section */
.page-cockfighting__bet-types {
  padding: 80px 0;
}

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

.page-cockfighting__bet-type-item {
  text-align: center;
  padding: 30px;
}

.page-cockfighting__bet-type-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__bet-type-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-cockfighting__bet-type-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

/* Promotions Section */
.page-cockfighting__promotions {
  padding: 80px 0;
}

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

.page-cockfighting__promo-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.page-cockfighting__promo-card .page-cockfighting__promo-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: var(--gold-color);
}

.page-cockfighting__promo-card .page-cockfighting__promo-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-text {
  margin-bottom: 20px;
  margin-top: 0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  display: grid;
  gap: 20px;
}

.page-cockfighting__faq-item {
  padding: 0;
  text-align: left;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  transition: color 0.3s ease;
  list-style: none;
  user-select: none;
}

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

.page-cockfighting__faq-question:hover {
  color: var(--glow-color);
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  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: 0 20px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

/* Final CTA Section */
.page-cockfighting__cta-final {
  padding: 80px 0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section {
    padding: 60px 0;
  }

  .page-cockfighting__section-title {
    font-size: clamp(26px, 4.5vw, 38px);
  }

  .page-cockfighting__hero-description,
  .page-cockfighting__section-description {
    font-size: 17px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(32px, 5vw, 50px);
  }
}

@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;
  }

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

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

  .page-cockfighting__main-title {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important; /* Remove margin-left for stacking */
    padding: 14px 20px !important;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__bet-type-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__feature-icon {
    max-width: 100px;
  }

  .page-cockfighting__promo-card .page-cockfighting__promo-title,
  .page-cockfighting__promo-card .page-cockfighting__promo-text {
    margin-left: 15px;
    margin-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__bet-type-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-cockfighting__faq-question {
    font-size: 16px;
    padding: 15px;
  }

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

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