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

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main-color);
  line-height: 1.2;
}

.page-cockfighting__section-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-cockfighting__light-bg {
  background-color: #0d203f; /* Slightly lighter than deep-navy for contrast with dark-section, while still dark */
  color: var(--text-main-color);
}

/* 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; /* As per fixed header spacing rule */
  overflow: hidden;
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-secondary-color);
  max-width: 900px;
  margin: 0 auto 30px;
}

.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);
}

/* General Card Styles */
.page-cockfighting__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  height: 100%;
  box-sizing: border-box;
}

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

.page-cockfighting__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Introduction Section */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

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

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

/* Game Types Section */
.page-cockfighting__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__game-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

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

.page-cockfighting__card-content {
  padding: 25px;
}

.page-cockfighting__cta-wrapper {
  margin-top: 60px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Guide Section */
.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__step-item {
  text-align: center;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-cockfighting__step-icon {
  background-color: var(--primary-color);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px rgba(var(--primary-color-rgb), 0.3);
}

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

.page-cockfighting__step-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
  flex-grow: 1;
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: #ffffff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

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

.page-cockfighting__tip-item {
  text-align: left;
  padding: 25px;
}

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

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

/* Promotions Section */
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__promo-item {
  text-align: center;
  padding: 25px;
}

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

.page-cockfighting__promo-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

/* Support Section */
.page-cockfighting__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__support-item {
  text-align: center;
  padding: 25px;
}

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

.page-cockfighting__support-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 50px;
  text-align: left;
}

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

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;
  color: var(--text-main-color);
}

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;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}

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

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

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  background: var(--deep-navy-color);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary-color);
  font-size: 16px;
  line-height: 1.6;
}

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

/* Global Image Styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Global Button Styles (for all a[class*="button"] and a[class*="btn"]) */
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-buttons,
.page-cockfighting__button-group,
.page-cockfighting__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__section-title {
    font-size: 32px;
  }

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

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

  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

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

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
  }

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

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__grid-2-cols,
  .page-cockfighting__guide-steps,
  .page-cockfighting__tips-list,
  .page-cockfighting__promo-grid,
  .page-cockfighting__support-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .page-cockfighting__card {
    padding: 20px;
    border-radius: 8px;
  }

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

  .page-cockfighting__card-text,
  .page-cockfighting__feature-description,
  .page-cockfighting__step-text,
  .page-cockfighting__tip-text,
  .page-cockfighting__promo-text,
  .page-cockfighting__support-text {
    font-size: 15px;
  }

  .page-cockfighting__card-image {
    height: 200px;
  }

  .page-cockfighting__image-full-width {
    margin-top: 30px;
    border-radius: 8px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px 18px;
  }

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

  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 25px;
    margin-left: 10px;
  }

  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 18px 15px;
  }

  /* Mobile specific image adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-container,
  .page-cockfighting__cta-wrapper,
  .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;
  }

  /* Mobile specific button adaptation */
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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;
    margin-top: 15px;
  }

  .page-cockfighting__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

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