/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-bg-dark: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--page-cockfighting-text-main); /* Light text for dark body background */
  background-color: var(--page-cockfighting-bg-dark);
  line-height: 1.6;
}

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--page-cockfighting-gold);
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-cockfighting-text-main);
}

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

/* 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;
  background-color: var(--page-cockfighting-bg-dark);
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  z-index: 1;
  text-align: center;
}

.page-cockfighting__main-title {
  font-weight: 900;
  color: var(--page-cockfighting-gold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 60ch; /* Ensure title doesn't become too wide on large screens */
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-description {
  font-size: 1.25em;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 40px;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-btn-gradient);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--page-cockfighting-gold); /* Gold text for secondary button */
  border: 2px solid var(--page-cockfighting-gold);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--page-cockfighting-gold);
  color: var(--page-cockfighting-bg-dark); /* Dark text on gold hover */
  transform: translateY(-3px);
}

/* Cards & Grids */
.page-cockfighting__features-grid,
.page-cockfighting__game-grid,
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-title,
.page-cockfighting__game-title,
.page-cockfighting__guide-title,
.page-cockfighting__promo-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--page-cockfighting-gold);
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-cockfighting__game-image,
.page-cockfighting__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__guide-card {
  text-align: center;
}

.page-cockfighting__guide-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Enhance icon visibility */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

/* Strategy Section */
.page-cockfighting__strategy-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__strategy-text {
  text-align: left;
  max-width: 700px;
}

.page-cockfighting__strategy-subtitle {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--page-cockfighting-gold);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__strategy-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-cockfighting__strategy-text li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__strategy-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--page-cockfighting-glow);
  font-weight: 700;
}

.page-cockfighting__strategy-image-wrapper {
  width: 100%;
  max-width: 600px;
}

.page-cockfighting__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.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;
  transition: all 0.3s ease;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-cockfighting-text-main);
  cursor: pointer;
  list-style: none;
  outline: none;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 20px;
  color: var(--page-cockfighting-glow);
  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;
  font-size: 1.05em;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.5;
}

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

/* Links */
.page-cockfighting a {
  color: var(--page-cockfighting-glow);
  text-decoration: none;
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-cockfighting__strategy-content {
    flex-direction: row;
    text-align: left;
  }
  .page-cockfighting__strategy-text {
    flex: 1;
    padding-right: 40px;
  }
  .page-cockfighting__strategy-image-wrapper {
    flex: 1;
    max-width: 50%;
  }
  .page-cockfighting__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }

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

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

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }

  .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-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__game-title,
  .page-cockfighting__guide-title,
  .page-cockfighting__promo-title {
    font-size: 1.2em;
  }

  .page-cockfighting__guide-icon {
    width: 100px;
    height: 100px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting__strategy-subtitle {
    font-size: 1.4em;
  }

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

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

  /* Mobile image adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video adaptation */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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__video-section {
    padding-top: 10px !important;
  }
  
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile container padding */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}