/* Base styles for page-cockfighting */
.page-cockfighting {
  color: #F3F8FF; /* Text Main for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--deep-navy); /* Assumed from shared.css */
}

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

.page-cockfighting__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.page-cockfighting__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-cockfighting__section-title--light {
  color: #F3F8FF; /* Text Main */
}

.page-cockfighting__section-description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-cockfighting__section-description--light {
  color: #AFC4E8; /* Text Secondary */
}

/* Hero Section */
.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Deep Navy blend */
}

.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;
  margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: 52px;
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: #AFC4E8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
  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);
  background: linear-gradient(180deg, #3a84ff 0%, #1a5ac9 100%);
}

.page-cockfighting__btn-secondary {
  background: #113B7A;
  color: #F3F8FF;
  border: 2px solid #244D84; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #1D5FD1;
  border-color: #1D5FD1;
}

/* General content sections */
.page-cockfighting__introduction,
.page-cockfighting__schedule-live,
.page-cockfighting__how-to-play {
  background-color: #08162B; /* Deep Navy */
}

.page-cockfighting__dark-section {
  background-color: #113B7A; /* Main color */
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block p {
  font-size: 17px;
  color: #AFC4E8;
  margin-bottom: 15px;
}

.page-cockfighting__text-block p strong {
  color: #F2C14E;
}

.page-cockfighting__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-block--full-width {
  grid-column: 1 / -1;
  margin-top: 30px;
}

.page-cockfighting__image-block--margin-top {
  margin-top: 40px;
}

.page-cockfighting__image-block--margin-top-large {
  margin-top: 60px;
}

/* Betting Types section */
.page-cockfighting__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-cockfighting__card-text {
  font-size: 16px;
  color: #AFC4E8;
  flex-grow: 1;
}

/* Advantages section */
.page-cockfighting__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__advantage-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* How to Play section */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__cta-buttons--margin-top-large {
  margin-top: 80px;
}

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

.page-cockfighting__promotion-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #113B7A; /* Main color */
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
  font-size: 16px;
  color: #AFC4E8;
}

/* Final CTA section */
.page-cockfighting__final-cta {
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Main color to Deep Navy */
  padding: 80px 0;
}

.page-cockfighting__container--center-text {
  text-align: center;
}

.page-cockfighting__btn-primary--large {
  padding: 18px 45px;
  font-size: 20px;
  min-width: 280px;
}

/* General image responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    max-height: 500px;
  }
  .page-cockfighting__main-title {
    font-size: 44px;
  }
  .page-cockfighting__section-title {
    font-size: 34px;
  }
  .page-cockfighting__hero-description {
    font-size: 19px;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-block {
    order: -1; /* Image first on smaller screens */
  }
  .page-cockfighting__cards-grid,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-image {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* General Sections */
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Content Grid */
  .page-cockfighting__content-grid {
    gap: 30px;
  }
  .page-cockfighting__text-block p {
    font-size: 16px;
  }
  .page-cockfighting__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__image {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Cards Grid */
  .page-cockfighting__cards-grid,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-cockfighting__card,
  .page-cockfighting__advantage-card,
  .page-cockfighting__step-card,
  .page-cockfighting__promotion-card {
    padding: 25px;
  }
  .page-cockfighting__card-title {
    font-size: 22px;
  }
  .page-cockfighting__card-text {
    font-size: 15px;
  }
  .page-cockfighting__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
    margin-bottom: 15px;
  }

  /* FAQ Section */
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    font-size: 15px;
  }

  /* Final CTA */
  .page-cockfighting__final-cta {
    padding: 50px 0;
  }
  .page-cockfighting__btn-primary--large {
    padding: 16px 30px;
    font-size: 18px;
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__cta-buttons--margin-top {
    margin-top: 30px;
  }
  .page-cockfighting__cta-buttons--margin-top-large {
    margin-top: 50px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 30px;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 15px;
  }
  .page-cockfighting__card-title {
    font-size: 20px;
  }
  .page-cockfighting__card-text {
    font-size: 14px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 15px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 22px;
  }
}