.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--deep-navy); /* Body background from shared.css */
}

.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__heading {
  font-size: 36px;
  color: var(--text-main);
  margin-bottom: 25px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.3);
}

.page-cockfighting__paragraph {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, var(--deep-navy) 0%, #113B7A 100%);
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 15px var(--glow);
}

.page-cockfighting__description {
  font-size: 19px;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-cockfighting__intro-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--divider);
}

/* Features Section */
.page-cockfighting__features-section {
  background-color: var(--deep-navy);
  border-top: 1px solid var(--divider);
}

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

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

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

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

.page-cockfighting__feature-title {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Types Section */
.page-cockfighting__types-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--divider);
}

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

.page-cockfighting__type-item {
  background-color: var(--deep-navy);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

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

.page-cockfighting__type-item img {
  width: 100%;
  height: auto;
  max-width: 400px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-cockfighting__type-title {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__type-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Guide Section */
.page-cockfighting__guide-section {
  background-color: var(--deep-navy);
  border-top: 1px solid var(--divider);
}

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

.page-cockfighting__guide-step-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.page-cockfighting__guide-step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__guide-step-item img {
  width: 100%;
  height: auto;
  max-width: 400px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-cockfighting__guide-step-title {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__guide-step-description {
  font-size: 16px;
  color: var(--text-secondary);
}

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--divider);
}

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

.page-cockfighting__promotion-item {
  background-color: var(--deep-navy);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--border);
}

.page-cockfighting__promotion-title {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__promotion-description {
  font-size: 16px;
  color: var(--text-secondary);
}

.page-cockfighting__button-wrapper {
  margin-top: 40px;
  text-align: center;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: var(--deep-navy);
  border-top: 1px solid var(--divider);
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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;
  font-weight: bold;
}

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: rgba(var(--primary-color-rgb), 0.1);
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.5;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: var(--text-main);
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  background: rgba(var(--deep-navy-rgb), 0.8);
  border-top: 1px solid var(--divider);
  border-radius: 0 0 10px 10px;
}

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  background-color: var(--card-bg);
  padding-bottom: 80px;
  border-top: 1px solid var(--divider);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__heading {
    font-size: 30px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(24px, 5vw, 40px);
  }
  .page-cockfighting__description {
    font-size: 17px;
  }
  .page-cockfighting__cta-button {
    padding: 14px 35px;
    font-size: 17px;
  }
  .page-cockfighting__feature-item img,
  .page-cockfighting__type-item img,
  .page-cockfighting__guide-step-item img {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-image img {
    border-radius: 8px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(22px, 6vw, 36px);
  }
  .page-cockfighting__description {
    font-size: 16px;
  }
  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__heading {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .page-cockfighting__paragraph {
    font-size: 15px;
  }
  .page-cockfighting__feature-grid, .page-cockfighting__type-grid, .page-cockfighting__guide-steps, .page-cockfighting__promotion-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-cockfighting__feature-item, .page-cockfighting__type-item, .page-cockfighting__guide-step-item, .page-cockfighting__promotion-item {
    padding: 25px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__type-title, .page-cockfighting__guide-step-title, .page-cockfighting__promotion-title {
    font-size: 20px;
  }
  .page-cockfighting__feature-description, .page-cockfighting__type-description, .page-cockfighting__guide-step-description, .page-cockfighting__promotion-description {
    font-size: 15px;
  }
  .page-cockfighting__faq-list {
    padding: 0 15px;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
  }

  /* Image responsiveness for content area */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__container,
  .page-cockfighting__feature-item,
  .page-cockfighting__type-item,
  .page-cockfighting__guide-step-item,
  .page-cockfighting__promotion-item,
  .page-cockfighting__button-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__button-wrapper .page-cockfighting__cta-button {
    width: auto !important; /* Allow button to shrink if multiple in a row */
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Color Variables */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border: #244D84;
  --glow: #4FA8FF;
  --gold: #F2C14E;
  --divider: #1B3357;
  --deep-navy: #08162B;

  /* RGB values for rgba usage */
  --primary-color-rgb: 17, 59, 122;
  --deep-navy-rgb: 8, 22, 43;
}