/* style/cockfighting-betting.css */

/* Base styles for the cockfighting betting page */
.page-cockfighting-betting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--deep-navy);
}

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

.page-cockfighting-betting__section {
  padding: 60px 0;
  background-color: var(--deep-navy);
  color: var(--text-main);
}

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

.page-cockfighting-betting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold);
  line-height: 1.2;
}

.page-cockfighting-betting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-secondary);
}

/* Hero Section */
.page-cockfighting-betting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 80px;
  overflow: hidden;
  background-color: var(--deep-navy);
}

.page-cockfighting-betting__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of image wrapper */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-cockfighting-betting__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-cockfighting-betting__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting-betting__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-betting__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting-betting__btn-secondary {
  background: #10233F;
  color: var(--text-main);
  border: 2px solid var(--border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-betting__btn-secondary:hover {
  background: var(--border);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-betting__cta-buttons--bottom {
  margin-top: 40px;
}

/* Grid for types and tips sections */
.page-cockfighting-betting__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting-betting__grid--two-columns {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-cockfighting-betting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-secondary);
}

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

.page-cockfighting-betting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-cockfighting-betting__card-title {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-cockfighting-betting__card-description {
  font-size: 1em;
  color: var(--text-secondary);
}

/* Guide List */
.page-cockfighting-betting__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting-betting__guide-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.page-cockfighting-betting__guide-item:hover {
  transform: translateY(-3px);
}

.page-cockfighting-betting__guide-step-title {
  font-size: 1.5em;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-cockfighting-betting__guide-item p {
  color: var(--text-secondary);
}

/* Promotion List */
.page-cockfighting-betting__promotion-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-cockfighting-betting__promotion-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 5px solid var(--glow);
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 1.1em;
  color: var(--text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-cockfighting-betting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting-betting__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-betting__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-cockfighting-betting__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-cockfighting-betting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: #10233F; /* Darker background for question */
  border-bottom: 1px solid var(--divider);
}

.page-cockfighting-betting__faq-question:hover {
  background-color: #1B3357;
}

.page-cockfighting-betting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--gold);
  margin-left: 15px;
  transition: transform 0.2s ease;
}

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

.page-cockfighting-betting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

/* Why Choose Section */
.page-cockfighting-betting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-betting__feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-betting__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-betting__feature-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-cockfighting-betting__feature-description {
  font-size: 0.95em;
  color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting-betting__section-title {
    font-size: 2em;
  }

  .page-cockfighting-betting__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

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

  .page-cockfighting-betting__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

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

  .page-cockfighting-betting__container,
  .page-cockfighting-betting__hero-section,
  .page-cockfighting-betting__introduction,
  .page-cockfighting-betting__types,
  .page-cockfighting-betting__guide,
  .page-cockfighting-betting__tips,
  .page-cockfighting-betting__promotions,
  .page-cockfighting-betting__faq,
  .page-cockfighting-betting__why-choose {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-cockfighting-betting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting-betting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    line-height: 1.3;
  }

  .page-cockfighting-betting__hero-description {
    font-size: 1em;
  }

  .page-cockfighting-betting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-cockfighting-betting__hero-image,
  .page-cockfighting-betting__card-image,
  .page-cockfighting-betting__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-betting__card {
    padding: 20px;
  }

  .page-cockfighting-betting__card-title {
    font-size: 1.4em;
  }

  .page-cockfighting-betting__guide-step-title {
    font-size: 1.3em;
  }

  .page-cockfighting-betting__promotion-list {
    grid-template-columns: 1fr;
  }

  .page-cockfighting-betting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-cockfighting-betting__faq-answer {
    padding: 15px 20px;
  }

  .page-cockfighting-betting__features-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting-betting__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-cockfighting-betting__grid--two-columns {
    grid-template-columns: 1fr;
  }
}