/* style/cockfighting.css */

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

.page-cockfighting {
  background-color: var(--page-cockfighting-bg-color);
  color: var(--page-cockfighting-text-main);
  font-family: 'Arial', sans-serif;
}

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

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

.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;
  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: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -150px; /* Overlap image slightly for visual effect, but text is below */
  padding: 40px;
  background: rgba(8, 22, 15, 0.85); /* Slightly transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-btn-gradient);
  color: #ffffff;
  border: 2px solid var(--page-cockfighting-glow-color);
  box-shadow: 0 0 15px var(--page-cockfighting-glow-color);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--page-cockfighting-glow-color);
  opacity: 0.9;
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: var(--page-cockfighting-deep-green);
  border: 2px solid var(--page-cockfighting-deep-green);
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--page-cockfighting-deep-green);
  color: #ffffff;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
  background: var(--page-cockfighting-deep-green);
  color: #ffffff;
  border: 1px solid var(--page-cockfighting-border-color);
  border-radius: 5px;
}

.page-cockfighting__btn-small:hover {
  background: var(--page-cockfighting-glow-color);
  color: var(--page-cockfighting-deep-green);
  border-color: var(--page-cockfighting-glow-color);
}

/* General Section Styling */
.page-cockfighting__about-section,
.page-cockfighting__how-to-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__other-games-section,
.page-cockfighting__support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--page-cockfighting-gold-color);
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: var(--page-cockfighting-deep-green);
  text-shadow: none;
}

.page-cockfighting__section-intro {
  font-size: 1.1rem;
  color: var(--page-cockfighting-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.page-cockfighting__light-bg .page-cockfighting__section-intro {
  color: #555555;
}

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

.page-cockfighting__light-bg .page-cockfighting__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

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

.page-cockfighting__feature-item {
  text-align: center;
}

.page-cockfighting__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-cockfighting__light-bg .page-cockfighting__feature-title {
  color: var(--page-cockfighting-deep-green);
}

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

.page-cockfighting__light-bg .page-cockfighting__feature-description {
  color: #666666;
}

/* How-To Section */
.page-cockfighting__step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  background: var(--page-cockfighting-gold-color);
  color: var(--page-cockfighting-deep-green);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

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

.page-cockfighting__step-description {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Bet Types Section */
.page-cockfighting__type-item {
  text-align: center;
}

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

.page-cockfighting__light-bg .page-cockfighting__type-title {
  color: var(--page-cockfighting-deep-green);
}

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

.page-cockfighting__light-bg .page-cockfighting__type-description {
  color: #666666;
}

/* Strategy Section */
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__strategy-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--page-cockfighting-border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

/* Other Games Section */
.page-cockfighting__game-card {
  text-align: center;
}

.page-cockfighting__game-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-cockfighting__game-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

/* Support Section */
.page-cockfighting__support-item {
  text-align: center;
}

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

.page-cockfighting__support-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
}

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

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

.page-cockfighting__light-bg .page-cockfighting__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-cockfighting-gold-color);
  background-color: var(--page-cockfighting-deep-green);
  border-bottom: 1px solid var(--page-cockfighting-border-color);
}

.page-cockfighting__light-bg .page-cockfighting__faq-question {
  color: #333333;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-cockfighting__faq-question::marker {
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #666666;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-content {
    margin-top: -50px;
    padding: 20px;
    max-width: 90%;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-cockfighting__section-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__games-grid,
  .page-cockfighting__support-grid,
  .page-cockfighting__strategy-list {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__how-to-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__other-games-section,
  .page-cockfighting__support-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

  /* Mobile image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

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

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