:root {
    --primary-color: #11A84E; /* Main Green */
    --secondary-color: #22C768; /* Auxiliary Green */
    --card-bg: #11271B; /* Card Background */
    --background-color: #08160F; /* Overall Background */
    --text-main: #F2FFF6; /* Main Text Color */
    --text-secondary: #A7D9B8; /* Secondary Text Color */
    --border-color: #2E7A4E; /* Border Color */
    --glow-color: #57E38D; /* Glow Effect */
    --gold-color: #F2C14E; /* Gold Color */
    --divider-color: #1E3A2A; /* Divider Color */
    --deep-green: #0A4B2C; /* Deep Green */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --header-offset: 80px; /* Placeholder, actual value from shared.css */
}

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

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

/* Typography */
.page-cockfighting__main-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

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

.page-cockfighting__text-block,
.page-cockfighting__hero-description,
.page-cockfighting__card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.page-cockfighting__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-highlight {
    color: var(--gold-color);
    font-weight: bold;
}

/* Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* Sections */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: 10px; /* Small padding, body handles header offset */
    padding-bottom: 60px;
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 20px;
}

.page-cockfighting__intro-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__final-cta-section {
    padding: 80px 0;
}

.page-cockfighting__dark-section {
    background-color: var(--deep-green); /* Darker background for contrast */
}

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

.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure image takes full width */
    max-width: 100%; /* Ensure responsiveness */
}

.page-cockfighting__card--no-image {
    padding-top: 40px;
    padding-bottom: 40px;
}

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

/* Steps Grid */
.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-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 70px; /* Space for step icon */
}

.page-cockfighting__step-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--button-gradient);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    border: 3px solid var(--gold-color);
    box-shadow: 0 0 15px var(--glow-color);
}

/* Strategy Grid (similar to type grid) */
.page-cockfighting__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Promotion Cards */
.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;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.page-cockfighting__promo-image {
    width: 100%;
    height: 220px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    padding: 20px 20px 10px;
    margin-bottom: 0;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
    padding: 0 20px 20px;
    flex-grow: 1; /* Make description take available space */
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
    margin: 0 20px 20px;
    width: calc(100% - 40px); /* Adjust width for padding */
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    list-style: none; /* Remove default summary marker */
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default summary marker for Webkit */
}

.page-cockfighting__faq-item summary:hover {
    background-color: var(--deep-green);
}

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

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

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

.page-cockfighting__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
    text-align: left;
}

/* Final CTA Section */
.page-cockfighting__final-cta-section {
    text-align: center;
    padding: 60px 20px;
}

.page-cockfighting__final-cta-section .page-cockfighting__section-title {
    margin-bottom: 20px;
}

.page-cockfighting__final-cta-section .page-cockfighting__text-block {
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 3rem;
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__card-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__feature-cards,
    .page-cockfighting__type-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__promo-grid {
        gap: 20px;
    }
    .page-cockfighting__intro-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__final-cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__main-title {
        font-size: 2.2rem;
    }
    .page-cockfighting__section-title {
        font-size: 1.8rem;
    }
    .page-cockfighting__card-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__hero-description,
    .page-cockfighting__text-block,
    .page-cockfighting__card-description,
    .page-cockfighting p,
    .page-cockfighting li {
        font-size: 0.95rem;
    }

    .page-cockfighting__hero-section {
        min-height: 400px;
        padding-bottom: 40px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__feature-cards,
    .page-cockfighting__type-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Images responsiveness */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* Image containers responsiveness */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* FAQ */
    .page-cockfighting__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }

    .page-cockfighting__promo-card .page-cockfighting__btn-secondary {
        margin: 0 15px 15px;
        width: calc(100% - 30px);
    }
}