/* style/cockfighting.css */

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

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

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

.page-cockfighting__hero-content {
  padding: 40px 20px;
  position: relative; /* Ensure content is above image wrapper if z-index is used, but here it's below in DOM */
  margin-top: -120px; /* Overlap slightly for visual flow */
  background-color: var(--background-color-page);
  border-radius: 15px;
  z-index: 10;
  max-width: 900px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

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

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small,
.page-cockfighting__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-cockfighting__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  border-radius: 5px;
  margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
  opacity: 0.9;
}

.page-cockfighting__btn-text {
  background: none;
  border: none;
  color: var(--secondary-color);
  text-decoration: underline;
  padding: 0;
  font-size: 1em;
  font-weight: normal;
  margin-top: 10px;
}

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

/* General Section Styles */
.page-cockfighting__introduction-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__game-types-section,
.page-cockfighting__tips-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.page-cockfighting__introduction-section {
  background-color: var(--background-color-page);
}

.page-cockfighting__how-to-play-section,
.page-cockfighting__tips-section {
  background-color: var(--deep-green-color);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--gold-color);
  margin-bottom: 40px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--text-main);
  margin-bottom: 25px;
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Image Content Grid */
.page-cockfighting__image-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 50px;
}

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

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__feature-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-secondary);
  position: relative;
  padding-left: 30px;
}

.page-cockfighting__feature-list li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}

.page-cockfighting__list-item-title {
  color: var(--text-main);
}

/* Step-by-Step Guide */
.page-cockfighting__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-cockfighting__step-card:hover {
  transform: translateY(-10px);
}

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

.page-cockfighting__step-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-cockfighting__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Game Types Grid */
.page-cockfighting__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-cockfighting__game-card:hover {
  transform: translateY(-8px);
}

.page-cockfighting__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-cockfighting__game-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tips Section */
.page-cockfighting__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-cockfighting__tip-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__tip-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-cockfighting__tip-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Promotions Section */
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-cockfighting__promo-card:hover {
  transform: translateY(-8px);
}

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

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

.page-cockfighting__promo-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  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.2em;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
  color: var(--text-main);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--gold-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: var(--primary-color);
  border-bottom-color: transparent;
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
}

.page-cockfighting__faq-item:not([open]) .page-cockfighting__faq-answer {
  border-top: none;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  background-color: var(--primary-color);
  padding: 80px 0;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: var(--gold-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
  color: var(--text-main);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 30px;
  }
  .page-cockfighting__image-content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__content-text-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 25px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-cockfighting__description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__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__introduction-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 50px 0;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: clamp(1.2em, 4vw, 1.8em);
  }
  .page-cockfighting__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }
  .page-cockfighting__image-content-grid {
    gap: 30px;
    padding: 0 15px;
  }
  .page-cockfighting__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__step-by-step-guide,
  .page-cockfighting__game-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__promo-grid {
    gap: 25px;
    padding: 0 15px;
  }
  .page-cockfighting__step-image,
  .page-cockfighting__game-image,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__faq-list {
    padding: 0 15px;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: -40px;
    padding: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }
  .page-cockfighting__description {
    font-size: 0.9em;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.3em, 7vw, 2em);
  }
  .page-cockfighting__step-card,
  .page-cockfighting__game-card,
  .page-cockfighting__tip-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }
  .page-cockfighting__step-title,
  .page-cockfighting__game-title,
  .page-cockfighting__tip-title,
  .page-cockfighting__promo-title {
    font-size: 1.3em;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 12px 15px;
    font-size: 0.9em;
  }
}