/* style/cockfighting.css */

/* Root variables for 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; /* Body background color */
  --page-cockfighting-text-main: #F2FFF6; /* Main text color for dark backgrounds */
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border-color: #2E7A4E;
  --page-cockfighting-glow-color: #57E38D;
  --page-cockfighting-gold-color: #F2C14E;
  --page-cockfighting-divider-color: #1E3A2A;
  --page-cockfighting-deep-green-color: #0A4B2C;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-cockfighting-text-main); /* Ensure text is light on dark body background */
  background-color: var(--page-cockfighting-background); /* Matches body background */
}

.page-cockfighting__dark-bg {
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main);
}

/* Main layout container */
.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;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum image size */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: 20px; /* Space between image and content */
}

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

.page-cockfighting__lead-text {
  font-size: 1.1rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button fits container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff; /* White text on dark button */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-primary-color);
  color: #ffffff;
}

/* General Section Styling */
.page-cockfighting__intro-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__how-to-start-section,
.page-cockfighting__promotions-section,
.page-cockfighting__responsible-gaming-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 40px;
  font-weight: 700;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  max-width: 900px;
  margin: 0 auto 20px auto;
  line-height: 1.8;
}

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

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

.page-cockfighting__feature-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--page-cockfighting-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-icon {
  width: 100%; /* Ensure feature images are large */
  max-width: 400px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-height: 200px; /* Minimum image size */
}

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

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

/* Betting Types List */
.page-cockfighting__betting-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-cockfighting__betting-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--page-cockfighting-border-color);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__betting-item-title {
  font-size: 1.4rem;
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 10px;
}

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

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

/* How to Start Section */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__step-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--page-cockfighting-border-color);
  color: var(--page-cockfighting-text-main);
}

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

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

.page-cockfighting__text-link {
  color: var(--page-cockfighting-primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  margin-top: 40px;
  border-radius: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-height: 200px; /* Minimum image size */
}

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

.page-cockfighting__promo-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--page-cockfighting-border-color);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__promo-image {
  width: 100%; /* Ensure promo images are large */
  max-width: 400px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-height: 200px; /* Minimum image size */
}

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

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

/* Responsible Gaming Section */
.page-cockfighting__responsible-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 20px auto;
  max-width: 800px;
  text-align: left;
}

.page-cockfighting__responsible-item {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-cockfighting__responsible-item::before {
  content: '✔';
  color: var(--page-cockfighting-primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-cockfighting-text-main);
  position: relative;
  user-select: none;
}

.page-cockfighting__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-cockfighting__faq-item > summary {
  list-style: none;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-cockfighting-primary-color);
  margin-left: 10px;
}

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

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

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

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

  .page-cockfighting__hero-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body already handles header offset */
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

  .page-cockfighting__hero-image {
    height: 400px;
    min-height: 200px !important;
  }

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

  .page-cockfighting__lead-text {
    font-size: 1rem;
  }

  .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 15px !important;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__how-to-start-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__responsible-gaming-section,
  .page-cockfighting__faq-section {
    padding: 60px 0;
  }

  .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting p,
  .page-cockfighting li,
  .page-cockfighting__text-block,
  .page-cockfighting__feature-description,
  .page-cockfighting__betting-item-description,
  .page-cockfighting__step-description,
  .page-cockfighting__promo-description,
  .page-cockfighting__responsible-item,
  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
  }

  .page-cockfighting__feature-icon,
  .page-cockfighting__promo-image,
  .page-cockfighting__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 300px;
  }
  .page-cockfighting__hero-image {
    height: 300px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-cockfighting__intro-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__how-to-start-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__responsible-gaming-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
  }
}