/* 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); /* Light text for dark body background */
  background-color: var(--page-cockfighting-background); /* Ensure consistency with body bg */
  line-height: 1.6;
}

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

.page-cockfighting__section-title,
.page-cockfighting__sub-title {
  color: var(--page-cockfighting-text-main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
}

.page-cockfighting__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 30px;
}

.page-cockfighting__paragraph {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-cockfighting-text-secondary);
  text-align: justify;
}

.page-cockfighting__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
  font-size: 16px;
}

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

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

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff; /* White text for button gradient */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 6px;
  margin-top: 15px;
  background: var(--page-cockfighting-primary-color);
  color: #ffffff;
  border: none;
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  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;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 30px 20px;
  margin-top: -150px; /* Pull content up over the image bottom */
  background: rgba(8, 22, 15, 0.9); /* Dark background for text readability */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-cockfighting__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 19px;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-card-bg);
}

.page-cockfighting__image-text-block {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

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

.page-cockfighting__text-content {
  flex: 1;
}

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

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  text-align: center;
  padding-bottom: 30px;
  border: 1px solid var(--page-cockfighting-border);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-cockfighting__card-description {
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  padding: 0 20px;
}

/* Betting Guide Section */
.page-cockfighting__betting-guide-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-deep-green);
}

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

.page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--page-cockfighting-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 15px;
  color: var(--page-cockfighting-text-secondary);
  flex-grow: 1;
}

.page-cockfighting__betting-info {
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(17, 39, 27, 0.7);
  border-radius: 12px;
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__betting-info .page-cockfighting__sub-title {
  color: var(--page-cockfighting-glow);
  margin-top: 0;
  margin-bottom: 20px;
}

.page-cockfighting__betting-info .page-cockfighting__paragraph {
  text-align: left;
}

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

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

.page-cockfighting__benefit-card {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__benefit-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-card-bg);
}

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

.page-cockfighting__strategy-item {
  background-color: rgba(8, 22, 15, 0.7);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__strategy-item .page-cockfighting__sub-title {
  color: var(--page-cockfighting-primary-color);
  margin-top: 0;
  text-align: left;
  font-size: 20px;
}

.page-cockfighting__strategy-item .page-cockfighting__paragraph {
  font-size: 15px;
  text-align: left;
}

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

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

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

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  color: var(--page-cockfighting-text-main);
  background-color: rgba(17, 39, 27, 0.8);
  border-bottom: 1px solid var(--page-cockfighting-divider);
}

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

.page-cockfighting__faq-item summary:hover {
  background-color: rgba(17, 39, 27, 1);
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: var(--page-cockfighting-glow);
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  background-color: rgba(17, 39, 27, 0.5);
}

.page-cockfighting__faq-answer .page-cockfighting__paragraph {
  margin-bottom: 0;
  text-align: left;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-deep-green);
  text-align: center;
}

.page-cockfighting__conclusion-section .page-cockfighting__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

/* Global Image Styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no CSS filter is applied */
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -100px;
    padding: 25px 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 20px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .page-cockfighting__hero-description {
    font-size: 16px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-cockfighting__sub-title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .page-cockfighting__paragraph {
    font-size: 15px;
  }

  .page-cockfighting__image-text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__content-image {
    max-width: 100%;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__types-section,
  .page-cockfighting__betting-guide-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__strategy-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;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }

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

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

  .page-cockfighting__step-card {
    padding: 20px;
  }

  .page-cockfighting__betting-info {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 15px 10px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(28px, 9vw, 36px);
  }

  .page-cockfighting__section-title {
    font-size: clamp(22px, 7vw, 30px);
  }

  .page-cockfighting__sub-title {
    font-size: clamp(18px, 6vw, 24px);
  }

  .page-cockfighting__card-image {
    height: 200px;
  }
}