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

/* Base styles for the page-cockfighting content */
.page-cockfighting {
  color: var(--color-text-main); /* Light text for dark body background */
  background-color: var(--color-background); /* Deep green background for main content sections */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-cockfighting__section-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__sub-title {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  color: var(--color-text-main);
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over the image, but not covering it */
  background: rgba(8, 22, 15, 0.85); /* Semi-transparent background for readability */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid var(--color-border);
}

.page-cockfighting__hero-title {
  color: var(--color-gold);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__hero-description {
  color: var(--color-text-secondary);
  font-size: 1.15rem;
  margin-bottom: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-glow);
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 80px 0;
  background-color: var(--color-background);
}

.page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-cockfighting__content-text {
  flex: 2;
}

.page-cockfighting__content-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: auto;
  display: block;
}

/* Game Halls Section */
.page-cockfighting__game-halls-section {
  padding: 80px 0;
  background-color: var(--color-deep-green);
}

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

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

.page-cockfighting__hall-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--color-primary);
}

.page-cockfighting__hall-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__hall-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__hall-description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.page-cockfighting__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 10px var(--color-glow);
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: var(--color-background);
}

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

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

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--color-primary);
  color: var(--color-text-main);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__step-description {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.page-cockfighting__step-button {
  display: inline-block;
  padding: 8px 18px;
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__step-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 8px var(--color-glow);
}

.page-cockfighting__guide-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: var(--color-deep-green);
}

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

.page-cockfighting__tip-card {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
}

.page-cockfighting__tip-title {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__tip-description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.page-cockfighting__tips-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: var(--color-background);
}

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

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

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--color-primary);
}

.page-cockfighting__promo-card img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__promo-title {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__promo-description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
  padding: 80px 0;
  background-color: var(--color-deep-green);
}

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

.page-cockfighting__feature-item {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
}

.page-cockfighting__feature-item img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__feature-description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: var(--color-background);
}

.page-cockfighting__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-cockfighting__faq-item {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

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

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-gold);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

details[open] .page-cockfighting__faq-question {
  background-color: rgba(var(--color-primary), 0.15);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-image {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section-title {
    font-size: 2.5rem;
  }
  .page-cockfighting__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__game-halls-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__faq-section {
    padding: 50px 0;
  }
  .page-cockfighting__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5rem;
  }
  .page-cockfighting__halls-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__tips-grid,
  .page-cockfighting__promos-grid,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__hall-card,
  .page-cockfighting__step-item,
  .page-cockfighting__tip-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__feature-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }
  .page-cockfighting__card-button,
  .page-cockfighting__step-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  /* Mobile image and video responsiveness */
  .page-cockfighting img,
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__game-halls-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__content-grid,
  .page-cockfighting__halls-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__tips-grid,
  .page-cockfighting__promos-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__hall-card,
  .page-cockfighting__step-item,
  .page-cockfighting__tip-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__feature-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding for hero on mobile */
  }
  .page-cockfighting__cta-button,
  .page-cockfighting__card-button,
  .page-cockfighting__step-button {
    margin-left: auto;
    margin-right: auto;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px 20px;
  }
}