/* style/cockfighting.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-dark: #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);
  background-color: var(--background-dark);
  line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for visual spacing */
  background-color: var(--background-dark);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for visual flow */
  background: linear-gradient(to bottom, rgba(8, 22, 15, 0.8), var(--background-dark));
  border-radius: 10px;
}

.page-cockfighting__hero-title {
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

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

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

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

.page-cockfighting__cta-button--secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.page-cockfighting__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

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

.page-cockfighting__text-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__text-block a:hover {
  text-decoration: underline;
}

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

.page-cockfighting__dark-section {
  background-color: var(--background-dark);
  color: var(--text-main);
  padding: 80px 0;
}

.page-cockfighting__light-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 80px 0;
}

/* Introduction Section */
.page-cockfighting__introduction-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__introduction-section .page-cockfighting__cta-button {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 300px;
  text-align: center;
}

/* Why Choose Section */
.page-cockfighting__features-grid,
.page-cockfighting__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card,
.page-cockfishing__card,
.page-cockfighting__game-type-card,
.page-cockfighting__step-card {
  background-color: var(--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(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover,
.page-cockfishing__card:hover,
.page-cockfighting__game-type-card:hover,
.page-cockfighting__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__feature-image,
.page-cockfishing__image,
.page-cockfighting__game-type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

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

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

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

/* Guide Section */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 25px;
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  background: var(--button-gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__step-card .page-cockfighting__card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-cockfighting__step-card .page-cockfighting__card-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.page-cockfighting__step-link {
  display: inline-block;
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--gold-color);
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.page-cockfighting__step-link:hover {
  color: var(--glow-color);
  border-color: var(--glow-color);
}

/* Promotions Section */
.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-cockfighting__promotion-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promotion-item::before {
  content: '⚡'; /* Unicode lightning bolt emoji */
  margin-right: 15px;
  font-size: 1.5rem;
  color: var(--gold-color);
  line-height: 1;
}

/* Strategies Section */
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-cockfighting__strategy-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

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

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

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* For Webkit browsers */
}

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

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

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider-color);
  text-align: justify;
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-button {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 350px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

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

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

  .page-cockfighting__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    padding-top: 40px;
  }

  .page-cockfighting__dark-section,
  .page-cockfighting__light-bg {
    padding: 60px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__game-types-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfishing__card,
  .page-cockfighting__game-type-card,
  .page-cockfighting__step-card {
    padding: 25px;
  }

  .page-cockfighting__feature-image,
  .page-cockfishing__image,
  .page-cockfighting__game-type-image {
    height: 180px;
  }

  .page-cockfighting__card-title {
    font-size: 1.4rem;
  }

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

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

  /* Mobile image 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__introduction-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-cockfighting__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-cockfighting__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__promotion-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .page-cockfighting__promotion-item::before {
    margin-bottom: 10px;
    margin-left: 0;
  }

  .page-cockfighting__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: 1.6rem;
  }
  .page-cockfighting__hero-content {
    margin-top: -40px;
  }
}