/* style/cockfighting.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --dark-bg-body: #0A0A0A; /* From shared.css */
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark body background */
  background-color: var(--dark-bg-body);
}

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--dark-bg-body);
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.4);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-cockfighting__small-button {
  padding: 10px 25px;
  font-size: 16px;
  margin-top: 15px;
}

.page-cockfighting__dark-bg {
  background-color: var(--dark-bg-body);
  color: var(--text-main);
  padding: 60px 0;
}

.page-cockfighting__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: var(--text-main);
  padding: 60px 0;
}

.page-cockfighting__intro-section p,
.page-cockfighting__bet-types-section p,
.page-cockfighting__guide-section p,
.page-cockfighting__advantages-section p,
.page-cockfighting__promotions-section p,
.page-cockfighting__cta-bottom-section p {
  font-size: 17px;
  margin-bottom: 25px;
  text-align: justify;
}

.page-cockfighting__intro-section strong,
.page-cockfighting__bet-types-section strong,
.page-cockfighting__guide-section strong,
.page-cockfighting__advantages-section strong,
.page-cockfighting__promotions-section strong,
.page-cockfighting__cta-bottom-section strong {
  color: var(--primary-color);
}

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

.page-cockfighting__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
  display: block;
  margin: 0 auto;
}

.page-cockfighting__bet-list,
.page-cockfighting__guide-list,
.page-cockfighting__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.page-cockfighting__bet-item,
.page-cockfighting__guide-item,
.page-cockfighting__advantage-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__bet-item:hover,
.page-cockfighting__guide-item:hover,
.page-cockfighting__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__bet-item h3,
.page-cockfighting__guide-item h3,
.page-cockfighting__advantage-item h3 {
  color: var(--secondary-color);
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.page-cockfighting__promotions-section .page-cockfighting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting__promotions-section .page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__card-image {
  margin-bottom: 20px;
}

.page-cockfighting__card-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.page-cockfighting__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card p {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: rgba(17, 17, 17, 0.8); /* Slightly transparent dark */
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
  font-size: 16px;
}

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

.page-cockfighting__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__cta-bottom-section p {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Text contrast fix for light background */
.page-cockfighting__text-contrast-fix {
  color: var(--text-main);
}

/* Global image responsive styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }
  .page-cockfighting__hero-content h1 {
    font-size: clamp(28px, 6vw, 48px);
  }
  .page-cockfighting__hero-content p {
    font-size: clamp(15px, 2.5vw, 18px);
  }
  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-cockfighting__bet-item h3,
  .page-cockfighting__guide-item h3,
  .page-cockfighting__advantage-item h3 {
    font-size: 22px;
  }
  .page-cockfighting__card-title {
    font-size: 20px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-image img {
    border-radius: 4px;
  }
  .page-cockfighting__hero-content h1 {
    font-size: clamp(26px, 7vw, 40px);
  }
  .page-cockfighting__hero-content p {
    font-size: clamp(14px, 3vw, 16px);
  }
  .page-cockfighting__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 15px;
  }
  .page-cockfighting__small-button {
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__dark-bg, .page-cockfighting__light-bg, .page-cockfighting__faq-section, .page-cockfighting__cta-bottom-section {
    padding: 40px 0;
  }
  .page-cockfighting__intro-section p,
  .page-cockfighting__bet-types-section p,
  .page-cockfighting__guide-section p,
  .page-cockfighting__advantages-section p,
  .page-cockfighting__promotions-section p,
  .page-cockfighting__cta-bottom-section p {
    font-size: 16px;
  }
  .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;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 15px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 22px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
  }
  .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__card {
    padding: 20px;
  }
}