/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__section-title--light {
  color: #ffffff;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #003366; /* Deep Blue */
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

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

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.7); /* Deep Blue with opacity */
  z-index: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-cockfighting__game-type-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-cockfighting__game-type-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-cockfighting__game-type-title {
  font-size: 1.6em;
  color: #003366;
  margin: 20px 15px 10px;
}

.page-cockfighting__game-type-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
}

/* How To Play Section */
.page-cockfighting__how-to-play-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-cockfighting__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #003366;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* App Download Section */
.page-cockfighting__app-download-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-cockfighting__app-download-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-cockfighting__app-text-content {
  flex: 1;
}

.page-cockfighting__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-cockfighting__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__app-benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 1.1em;
  color: #555555;
}

.page-cockfighting__app-benefits-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-cockfighting__app-benefits-list li::before {
  content: '✓';
  color: #FFD700; /* Gold checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-cockfighting__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-cockfighting__tip-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__tip-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__tip-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-cockfighting__promotions-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-direction: row-reverse; /* Image on right */
}

.page-cockfighting__promotions-text {
  flex: 1;
}

.page-cockfighting__promotions-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-cockfighting__promotions-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 1.1em;
  color: #555555;
}

.page-cockfighting__promotion-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-cockfighting__promotion-list li::before {
  content: '★';
  color: #003366; /* Deep Blue star */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700; /* Gold */
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 25px;
  text-align: center;
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px 25px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-question {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Contact CTA Section */
.page-cockfighting__contact-cta-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-cockfighting__contact-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-cockfighting__contact-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__contact-text {
  flex: 1;
}

/* Floating Buttons */
.page-cockfighting__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-cockfighting__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.page-cockfighting__floating-btn:hover {
  transform: scale(1.05);
}

.page-cockfighting__floating-btn--register {
  background-color: #FFD700; /* Gold */
  color: #003366;
}

.page-cockfighting__floating-btn--login {
  background-color: #003366; /* Deep Blue */
  border: 2px solid #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__app-download-content,
  .page-cockfighting__promotions-content,
  .page-cockfighting__contact-content {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__app-image-wrapper,
  .page-cockfighting__promotions-image-wrapper,
  .page-cockfighting__contact-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
    flex-direction: column !important;
    gap: 10px;
  }

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

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

  .page-cockfighting__app-download-content,
  .page-cockfighting__promotions-content,
  .page-cockfighting__contact-content {
    gap: 30px;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__app-image-wrapper,
  .page-cockfighting__promotions-image-wrapper,
  .page-cockfighting__contact-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__floating-buttons {
    flex-direction: row;
    bottom: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    justify-content: space-around;
  }

  .page-cockfighting__floating-btn {
    width: calc(50% - 10px);
    font-size: 1em;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
}