/* style/cockfighting.css */

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

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

.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;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-cockfighting-gold);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--page-cockfighting-text-secondary);
}

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

/* General Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff; /* White text on dark gradient */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--page-cockfighting-glow); /* Green text on transparent */
  border: 2px solid var(--page-cockfighting-glow);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-glow);
  color: var(--page-cockfighting-background); /* Dark text on green hover */
  transform: translateY(-2px);
}

/* Section Titles */
.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--page-cockfighting-gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--page-cockfighting-glow);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

/* Text Blocks */
.page-cockfighting__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--page-cockfighting-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__text-main {
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__text-secondary {
  color: var(--page-cockfighting-text-secondary);
}

/* Cards */
.page-cockfighting__content-card,
.page-cockfighting__type-card,
.page-cockfighting__promotion-card,
.page-cockfighting__rule-card,
.page-cockfighting__feature-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--page-cockfighting-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-cockfighting__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
  flex-grow: 1;
}

/* Grid Layouts */
.page-cockfighting__content-grid,
.page-cockfighting__types-grid,
.page-cockfighting__promotions-grid,
.page-cockfighting__rules-grid,
.page-cockfighting__features-list {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
}

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

.page-cockfighting__types-grid,
.page-cockfighting__promotions-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-cockfighting__rules-grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-cockfighting__features-list {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Image Styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-cockfighting__type-image,
.page-cockfighting__promotion-image {
  margin-bottom: 20px;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-cockfighting__guide-image {
  width: 100%;
  height: auto;
  margin: 40px auto;
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 12px;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px var(--page-cockfighting-glow));
}

/* Guide Steps */
.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__guide-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 80px; /* Space for number */
}

.page-cockfighting__guide-step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.5);
}

/* Lists */
.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting__list li::before {
  content: '•';
  color: var(--page-cockfighting-glow);
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}

/* CTA Center */
.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Dark Sections */
.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-deep-green);
  padding: 60px 0;
}

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

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

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

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

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

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

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

/* Details element specific styling */
.page-cockfighting__faq-item summary {
  list-style: none;
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-cockfighting__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

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

  .page-cockfighting__content-card,
  .page-cockfighting__type-card,
  .page-cockfighting__promotion-card,
  .page-cockfighting__rule-card,
  .page-cockfighting__feature-item {
    padding: 25px;
  }

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

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

  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-cockfighting__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__content-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__rules-grid,
  .page-cockfighting__features-list {
    gap: 20px;
  }

  .page-cockfighting__type-image,
  .page-cockfighting__promotion-image {
    height: 200px;
  }

  .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__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__features-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__image-container,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
  }
}