:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-background); /* Overall page background */
    line-height: 1.6;
}

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

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

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

.page-cockfighting__section-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-cockfighting__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-cockfighting__text-block--center {
    text-align: center;
}

.page-cockfighting__text-block .highlight {
  color: var(--color-gold);
  font-weight: bold;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-bottom: 60px; /* Space below content */
    background-color: var(--color-deep-green);
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-cockfighting__hero-content {
    position: relative; /* Relative to hero section, not absolute over image */
    text-align: center;
    padding: 40px 20px 0; /* Padding top to separate from image */
    max-width: 900px;
    z-index: 2;
    color: var(--color-text-main);
}

.page-cockfighting__main-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1.5px;
}

.page-cockfighting__hero-description {
    font-size: 18px;
    color: var(--color-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--color-button-gradient-start);
    border: 2px solid var(--color-button-gradient-start);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--color-button-gradient-start);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-small {
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 5px;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* General Image Styling */
.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Dark Section */
.page-cockfighting__dark-section {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

/* Light Background Section for Contrast */
.page-cockfighting__light-bg {
    background-color: var(--color-background); /* Using default background for light contrast */
    color: var(--color-text-main);
}

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

.page-cockfighting__card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--color-divider);
}

.page-cockfighting__card-title {
    font-size: 22px;
    color: var(--color-gold);
    padding: 20px 20px 10px;
    font-weight: 700;
}

.page-cockfighting__card-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    padding: 0 20px 20px;
}

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

.page-cockfighting__step-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--color-border);
}

.page-cockfighting__step-title {
    font-size: 24px;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__step-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* Tips List Section */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__tip-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

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

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

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

.page-cockfighting__benefit-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-cockfighting__benefit-title {
    font-size: 20px;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__benefit-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    flex-grow: 1; /* Make description take available space */
}

/* Download CTA Section */
.page-cockfighting__download-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-cockfighting__download-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 350px;
    width: 100%;
    border: 1px solid var(--color-border);
}

.page-cockfighting__download-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--color-glow)); /* Add glow effect without changing color */
}

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

.page-cockfighting__download-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gold);
    cursor: pointer;
    background-color: var(--color-deep-green); /* Slightly darker for question header */
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
    background-color: var(--color-primary); /* Slightly lighter on hover */
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gold);
    margin-left: 15px;
    line-height: 1;
}

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    font-size: 16px;
    color: var(--color-text-secondary);
}

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
}
.page-cockfighting__faq-answer p:last-child {
  margin-bottom: 0;
}


/* Links inside content */
.page-cockfighting a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting a:hover {
    color: var(--color-glow);
    text-decoration: underline;
}


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

    .page-cockfighting__section {
        padding: 40px 0;
    }

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

    .page-cockfighting__main-title {
        font-size: 36px;
    }

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

    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .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__hero-cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container,
    .page-cockfighting__download-options {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 15px; /* Adjust gap for mobile */
    }
    
    .page-cockfighting__download-item {
      max-width: 100%;
    }

    .page-cockfighting__image,
    .page-cockfighting__card-image,
    .page-cockfighting__download-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__container,
    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__download-cta,
    .page-cockfighting__faq-section,
    .page-cockfighting__card,
    .page-cockfighting__step-item,
    .page-cockfighting__tip-item,
    .page-cockfighting__benefit-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }

    .page-cockfighting__faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
        font-size: 15px;
    }
}