/* style/cockfighting.css */

/* Base styles and variables */
:root {
  --page-primary-color: #003366;
  --page-secondary-color: #FFA500;
  --page-text-light: #ffffff;
  --page-text-dark: #333333;
  --page-background-dark: #121212;
  --page-card-bg-dark: rgba(255, 255, 255, 0.08);
  --page-border-color: #333;
  --page-shadow-light: rgba(0, 0, 0, 0.2);
  --page-shadow-dark: rgba(0, 0, 0, 0.4);
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-light); /* Based on body background #121212 */
  background-color: var(--page-background-dark);
  padding-bottom: 60px;
}

/* Fixed header padding */
.page-cockfighting__fixed-header-padding {
  padding-top: 120px; /* Desktop */
}

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

/* Section titles */
.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--page-secondary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  text-shadow: 2px 2px 4px var(--page-shadow-dark);
}

/* Text blocks */
.page-cockfighting__text-block {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--page-text-light);
  text-align: justify;
}

.page-cockfighting__highlight {
  color: var(--page-secondary-color);
  font-weight: bold;
}

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

.page-cockfighting__text-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Image wrapper for responsive images */
.page-cockfighting__image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--page-shadow-dark);
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  background: linear-gradient(135deg, var(--page-primary-color) 0%, #001a33 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.page-cockfighting__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--page-secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px var(--page-shadow-dark);
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: var(--page-text-light);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-btn {
  display: inline-block;
  background: var(--page-secondary-color);
  color: var(--page-primary-color);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px var(--page-shadow-dark);
  border: 2px solid var(--page-secondary-color);
}

.page-cockfighting__hero-btn:hover {
  background: #fff;
  color: var(--page-primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--page-shadow-dark);
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 60px 0;
  background-color: var(--page-background-dark);
}

/* Why Choose OKVIP Section */
.page-cockfighting__why-choose-okvip-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly different dark background */
}

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-item {
  background: var(--page-card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--page-shadow-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-border-color);
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px var(--page-shadow-dark);
}

.page-cockfighting__feature-title {
  font-size: 24px;
  color: var(--page-secondary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__feature-text {
  font-size: 16px;
  color: var(--page-text-light);
  line-height: 1.7;
}

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

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

.page-cockfighting__card {
  background: var(--page-card-bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--page-shadow-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-border-color);
}

.page-cockfighting__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px var(--page-shadow-dark);
}

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

.page-cockfighting__card-title {
  font-size: 22px;
  color: var(--page-secondary-color);
  padding: 20px 20px 10px;
  font-weight: 700;
}

.page-cockfighting__card-description {
  font-size: 16px;
  color: var(--page-text-light);
  padding: 0 20px 20px;
  line-height: 1.7;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background: var(--page-card-bg-dark);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--page-shadow-dark);
  border: 1px solid var(--page-border-color);
}

.page-cockfighting__step-number {
  counter-increment: step-counter;
  font-size: 36px;
  font-weight: bold;
  color: var(--page-secondary-color);
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.page-cockfighting__step-title {
  font-size: 24px;
  color: var(--page-secondary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-cockfighting__step-text {
  font-size: 16px;
  color: var(--page-text-light);
  line-height: 1.7;
}

.page-cockfighting__cta-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background: var(--page-secondary-color);
  color: var(--page-primary-color);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px var(--page-shadow-dark);
  border: 2px solid var(--page-secondary-color);
}

.page-cockfighting__cta-btn:hover {
  background: #fff;
  color: var(--page-primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px var(--page-shadow-dark);
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 60px 0;
  background-color: var(--page-background-dark);
}

.page-cockfighting__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tip-item {
  background: var(--page-card-bg-dark);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px var(--page-shadow-dark);
  border: 1px solid var(--page-border-color);
}

.page-cockfighting__tip-title {
  font-size: 22px;
  color: var(--page-secondary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-cockfighting__tip-text {
  font-size: 16px;
  color: var(--page-text-light);
  line-height: 1.7;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

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

.page-cockfighting__promotion-card {
  background: var(--page-card-bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--page-shadow-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-border-color);
}

.page-cockfighting__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px var(--page-shadow-dark);
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promotion-title {
  font-size: 22px;
  color: var(--page-secondary-color);
  padding: 20px 20px 10px;
  font-weight: 700;
}

.page-cockfighting__promotion-description {
  font-size: 16px;
  color: var(--page-text-light);
  padding: 0 20px 20px;
  line-height: 1.7;
}

/* Security and Support Section */
.page-cockfighting__security-support-section {
  padding: 60px 0;
  background-color: var(--page-background-dark);
}

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

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--page-border-color);
  box-shadow: 0 2px 10px var(--page-shadow-dark);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--page-card-bg-dark);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--page-text-light);
  pointer-events: none;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--page-secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: var(--page-secondary-color);
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid var(--page-border-color);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: var(--page-text-light);
}

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

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: var(--page-secondary-color);
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  color: var(--page-text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 44px;
  }

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

  .page-cockfighting__section-title {
    font-size: 32px;
  }

  .page-cockfighting__feature-list,
  .page-cockfighting__card-grid,
  .page-cockfighting__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__fixed-header-padding {
    padding-top: 100px; /* Mobile */
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__hero-section {
    padding: 80px 0 60px;
  }

  .page-cockfighting__hero-title {
    font-size: 36px;
  }

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

  .page-cockfighting__hero-btn {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__feature-text,
  .page-cockfighting__card-description,
  .page-cockfighting__step-text,
  .page-cockfighting__tip-text,
  .page-cockfighting__promotion-description,
  .page-cockfighting__faq-answer p {
    font-size: 15px;
    line-height: 1.7;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__promotion-card {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__card-title,
  .page-cockfighting__step-title,
  .page-cockfighting__tip-title,
  .page-cockfighting__promotion-title {
    font-size: 20px;
  }

  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-cockfighting__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-cockfighting__cta-btn {
    padding: 12px 25px;
    font-size: 17px;
  }

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

  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile responsive image styles */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__why-choose-okvip-section,
  .page-cockfighting__types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-support-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;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 30px;
  }

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

  .page-cockfighting__hero-btn {
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-cockfighting__section-title {
    font-size: 24px;
  }

  .page-cockfighting__feature-list,
  .page-cockfighting__card-grid,
  .page-cockfighting__promotion-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 15px;
  }
}