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

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom */
  color: var(--aebet-text-main);
  background-color: var(--aebet-background);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--aebet-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--aebet-text-secondary);
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  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(--aebet-button-gradient);
  color: var(--aebet-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background: rgba(34, 199, 104, 0.1);
  transform: translateY(-3px);
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--aebet-gold);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__overview-section,
.page-cockfighting__promotions-section,
.page-cockfighting__betting-guide-section {
  background-color: var(--aebet-background);
  color: var(--aebet-text-main);
}

.page-cockfighting__advantages-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  background-color: var(--aebet-card-bg);
  color: var(--aebet-text-main);
}

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

.page-cockfighting__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__advantage-list,
.page-cockfighting__tip-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__advantage-item,
.page-cockfighting__tip-item {
  background-color: var(--aebet-background);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--aebet-border);
  transition: transform 0.3s ease;
}

.page-cockfighting__advantage-item:hover,
.page-cockfighting__tip-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__advantage-title,
.page-cockfighting__tip-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--aebet-green-secondary);
  margin-bottom: 15px;
}

.page-cockfighting__advantage-item p,
.page-cockfighting__tip-item p {
  color: var(--aebet-text-secondary);
  font-size: 1rem;
}

.page-cockfighting__betting-guide-section {
  text-align: center;
}

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

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

.page-cockfighting__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--aebet-gold);
  margin-bottom: 15px;
}

.page-cockfighting__guide-step p {
  color: var(--aebet-text-secondary);
  font-size: 1rem;
  margin-bottom: 15px;
}

.page-cockfighting__btn-text {
  display: inline-block;
  color: var(--aebet-green-secondary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--aebet-green-secondary);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

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

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

.page-cockfighting__card {
  background-color: var(--aebet-card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--aebet-border);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--aebet-green-secondary);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-cockfighting__card p {
  color: var(--aebet-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-cockfighting__card .page-cockfighting__btn-primary {
  margin: 0 auto;
}

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

.page-cockfighting__faq-item {
  background-color: var(--aebet-background);
  border: 1px solid var(--aebet-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-cockfighting__faq-question:hover {
  background-color: var(--aebet-green-primary);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: var(--aebet-green-primary);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  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: 20px 25px;
  font-size: 1rem;
  color: var(--aebet-text-secondary);
  background-color: var(--aebet-background);
  border-top: 1px solid var(--aebet-border);
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-cockfighting__content-area {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box !important;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }

  .page-cockfighting__image,
  .page-cockfighting__card-image,
  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__overview-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__betting-guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container,
  .page-cockfighting__hero-image-wrapper
  {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-cockfighting__card {
    padding-bottom: 20px;
  }

  .page-cockfighting__card-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-cockfighting__advantage-list,
  .page-cockfighting__tip-list,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__advantage-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__guide-step {
    padding: 25px;
  }

  .page-cockfighting__advantage-title,
  .page-cockfighting__tip-title {
    font-size: 1.25rem;
  }

  .page-cockfighting__step-title {
    font-size: 1.35rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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