:root {
    --primary-color: #C61F1F;
    --secondary-color: #E53030;
    --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    --card-bg: #2A1212;
    --page-bg: #140C0C;
    --text-main: #FFF1E8;
    --border-color: #6A1E1E;
    --gold-color: #F3C54D;
    --deep-red: #7E0D0D;
}

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Ensure contrast with page-bg */
    background-color: var(--page-bg);
    line-height: 1.6;
    font-size: 16px;
}

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

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

.page-cockfighting__dark-bg {
    background-color: var(--card-bg); /* Darker background for sections */
    color: var(--text-main);
}

.page-cockfighting__section-title {
    font-size: clamp(2em, 5vw, 3em); /* Responsive font size */
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-main);
}

/* 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 */
    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%; /* Ensure full width on desktop */
}

.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: 8px;
    object-fit: cover;
    box-shadow: 0 8px 16px 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(2.5em, 5vw, 3.8em); /* Responsive font size */
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--text-main);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.page-cockfighting__cta-button:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--secondary {
    background: var(--primary-color);
    border: 2px solid var(--gold-color);
}

.page-cockfighting__cta-button--secondary:hover {
    background: var(--secondary-color);
    filter: none;
}


/* General card styles */
.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

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

.page-cockfighting__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__step-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__step-card .page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-cockfighting__step-card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

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

.page-cockfighting__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__type-card p {
    font-size: 1em;
}

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

.page-cockfighting__advantage-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--text-main);
}

.page-cockfighting__advantage-card .page-cockfighting__card-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-cockfighting__advantage-card p {
    font-size: 1em;
}

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

.page-cockfighting__promo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--text-main);
}

.page-cockfighting__promo-card img {
    width: 100%;
    height: 200px; /* Consistent image height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--gold-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--gold-color);
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
}

.page-cockfighting__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--card-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Security and Support Section */
.page-cockfighting__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__info-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--text-main);
}

.page-cockfighting__info-card .page-cockfighting__card-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    text-align: left;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 2px 8px 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 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
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: var(--deep-red);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2); /* Slightly lighter dark for answer background */
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
  font-size: 1em;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin-bottom: 10px;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer a {
    color: var(--gold-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer a:hover {
    color: var(--text-main);
}

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

.page-cockfighting__blog-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__blog-card img {
    width: 100%;
     /* Consistent height for blog images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__blog-card .page-cockfighting__card-title {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__blog-card .page-cockfighting__card-title a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__blog-card .page-cockfighting__card-title a:hover {
    color: var(--text-main);
}

.page-cockfighting__blog-card p {
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-cockfighting__blog-date {
    font-size: 0.85em;
    color: #aaa;
    display: block;
    margin-top: 10px;
}

.page-cockfighting__view-all {
    margin-top: 50px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2.5em;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2em, 4.5vw, 3.2em);
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 15px;
        line-height: 1.5;
    }
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 6vw, 2.8em);
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Images responsiveness */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      object-fit: cover;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

    .page-cockfighting__step-card img,
    .page-cockfighting__promo-card img,
    .page-cockfighting__blog-card img {
         /* Adjust height for mobile */
    }

    .page-cockfighting__card-title {
        font-size: 1.4em;
    }
    .page-cockfighting__step-card .page-cockfighting__card-title,
    .page-cockfighting__advantage-card .page-cockfighting__card-title,
    .page-cockfighting__promo-card .page-cockfighting__card-title,
    .page-cockfighting__info-card .page-cockfighting__card-title {
        font-size: 1.3em;
    }
    .page-cockfighting__faq-qtext {
        font-size: 1em;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 7vw, 2.2em);
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
    .page-cockfighting__steps-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__info-grid,
    .page-cockfighting__blog-grid {
        gap: 20px;
    }
}