/* style/cockfighting.css */
/* Custom Colors */
:root {
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-background: #08160F;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border: #2E7A4E;
  --page-cockfighting-glow: #57E38D;
  --page-cockfighting-gold: #F2C14E;
  --page-cockfighting-divider: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
  --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: 10px; /* body handles --header-offset */
  padding-bottom: 60px;
}

.page-cockfighting__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  text-align: center;
}

.page-cockfighting__hero-title {
  color: var(--page-cockfighting-text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.page-cockfighting__hero-description {
  color: var(--page-cockfighting-text-secondary);
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-cockfighting__section-title {
  color: var(--page-cockfighting-text-main);
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__advantage-icon, 
.page-cockfighting__step-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__advantage-title,
.page-cockfighting__bet-type-title,
.page-cockfighting__step-title,
.page-cockfighting__strategy-title {
  color: var(--page-cockfighting-gold);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__advantage-text,
.page-cockfighting__bet-type-text,
.page-cockfighting__step-text,
.page-cockfighting__strategy-text {
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.6;
}

.page-cockfighting__advantages-grid,
.page-cockfighting__bet-types-grid,
.page-cockfighting__steps-grid,
.page-cockfighting__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-btn-gradient);
  color: #ffffff;
  border: none;
}

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

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

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

.page-cockfighting__hero-cta-buttons,
.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-cockfighting__center-buttons {
  margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: var(--page-cockfighting-background);
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
  background-color: var(--page-cockfighting-deep-green);
  color: var(--page-cockfighting-gold);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-answer {
  padding: 0 30px 20px 30px;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.6;
  font-size: 1em;
}

.page-cockfighting__conclusion {
  padding-bottom: 80px;
}

.page-cockfighting__responsibility-text {
  color: var(--page-cockfighting-text-secondary);
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 30px auto 40px auto;
  font-style: italic;
}

/* Background color specific text colors */
.page-cockfighting__dark-bg {
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__section-description,
.page-cockfighting__light-bg .page-cockfighting__advantage-title,
.page-cockfighting__light-bg .page-cockfighting__advantage-text,
.page-cockfighting__light-bg .page-cockfighting__step-title,
.page-cockfighting__light-bg .page-cockfighting__step-text,
.page-cockfighting__light-bg .page-cockfighting__faq-question,
.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
  background-color: #e6f7ef; /* Lighter version of brand green for contrast */
  color: #11A84E;
}

.page-cockfighting__light-bg .page-cockfighting__faq-toggle {
  color: #11A84E;
}

.page-cockfighting__light-bg .page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: #333333;
}

/* Image sizing for CLS */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-content {
    margin-top: 20px;
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
    line-height: 1.3;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-cockfighting__advantages-grid,
  .page-cockfighting__bet-types-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__hero-cta-buttons,
  .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;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-cockfighting__card {
    padding: 20px;
  }
  .page-cockfighting__advantage-icon, 
  .page-cockfighting__step-icon {
    max-height: 150px;
  }
  .page-cockfighting__advantage-title,
  .page-cockfighting__bet-type-title,
  .page-cockfighting__step-title,
  .page-cockfighting__strategy-title {
    font-size: 1.3em;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }
  
  /* Mobile image and container responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__hero-content,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__bet-types-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-cockfighting__hero-section,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__hero-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-cockfighting__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}