/* style/cockfighting.css */

:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg-color: #D32F2F;
  --background-color: #B71C1C;
  --text-main-color: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Assuming body background is dark from shared.css */
  background-color: var(--background-color);
  line-height: 1.6;
}

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

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  padding-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background-color: var(--deep-red-color);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the bottom part of the image */
  background: linear-gradient(0deg, var(--background-color) 0%, rgba(183, 28, 28, 0.8) 50%, rgba(183, 28, 28, 0.0) 100%);
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7);
  line-height: 1.2;
}

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

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

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

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

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: #000000; /* Dark text on gold button for contrast */
  border: 2px solid var(--gold-color);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
}

/* General Section Styling */
.page-cockfighting__dark-section {
  background-color: var(--background-color);
  padding: 60px 0;
  color: var(--text-main-color);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-cockfighting__card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--deep-red-color);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__card-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__card-description {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.7;
}

/* Guide Section */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--gold-color);
}

.page-cockfighting__guide-step-title {
  font-size: 1.3em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__guide-step-description {
  font-size: 1.05em;
  color: var(--text-main-color);
  line-height: 1.7;
}

/* Strategy Section */
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__strategy-item {
  background-color: var(--deep-red-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--primary-color);
}

.page-cockfighting__strategy-point-title {
  font-size: 1.25em;
  color: var(--gold-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.page-cockfighting__strategy-point-description {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
}

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

.page-cockfighting__advantage-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--deep-red-color);
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__advantage-icon {
  width: 100px; /* Smaller display size for icons */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--glow-color));
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Promotions Section */
.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__promotion-item {
  background-color: var(--deep-red-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--primary-color);
}

.page-cockfighting__promotion-title {
  font-size: 1.3em;
  color: var(--gold-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.page-cockfighting__promotion-description {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--deep-red-color);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--gold-color);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker, /* Hide default marker for Webkit browsers */
.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.5em;
  margin-left: 15px;
  color: var(--gold-color);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: var(--text-main-color);
  line-height: 1.7;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
}

/* General image and container responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }

  .page-cockfighting__main-title {
    font-size: 2.8em;
  }

  .page-cockfighting__description {
    font-size: 1.1em;
  }

  .page-cockfighting__section-title {
    font-size: 2.4em;
  }

  .page-cockfighting__bet-types-grid,
  .page-cockfighting__advantages-grid {
    gap: 20px;
  }
}

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

  .page-cockfighting__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section - Mobile */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding, relying on body padding-top */
    min-height: auto;
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 40vh;
  }

  .page-cockfighting__hero-content {
    margin-top: -80px; /* Adjust pull-up for mobile */
    padding: 20px 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__main-title {
    font-size: 2em; /* Smaller font size for H1 on mobile */
    margin-bottom: 10px;
  }

  .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    box-sizing: border-box;
  }

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

  /* General Sections - Mobile */
  .page-cockfighting__dark-section {
    padding: 40px 0;
  }

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

  .page-cockfighting__text-block {
    font-size: 1em;
    line-height: 1.7;
    padding: 0 10px;
  }

  /* Product Showcase (Bet Types Grid) - Mobile */
  .page-cockfighting__bet-types-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    padding: 0 15px;
  }

  .page-cockfighting__card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Guide Section - Mobile */
  .page-cockfighting__guide-item {
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-cockfighting__guide-step-title {
    font-size: 1.2em;
  }

  .page-cockfighting__guide-step-description {
    font-size: 0.95em;
  }

  /* Strategy Section - Mobile */
  .page-cockfighting__strategy-item {
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-cockfighting__strategy-point-title {
    font-size: 1.1em;
  }

  .page-cockfighting__strategy-point-description {
    font-size: 0.95em;
  }

  /* Advantages Section - Mobile */
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    padding: 0 15px;
  }

  .page-cockfighting__advantage-card {
    padding: 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__advantage-icon {
    width: 80px;
    height: 80px;
  }

  /* Promotions Section - Mobile */
  .page-cockfighting__promotion-item {
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-cockfighting__promotion-title {
    font-size: 1.2em;
  }

  .page-cockfighting__promotion-description {
    font-size: 0.95em;
  }

  /* FAQ Section - Mobile */
  .page-cockfighting__faq-item {
    margin-left: 15px;
    margin-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  /* Universal image responsiveness for content area */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .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;
  }
}