:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --button-register-bg: #C30808;
    --button-register-text: #FFFF00;
    --button-login-bg: #C30808;
    --button-login-text: #FFFF00;
    --card-dark-bg: rgba(255, 255, 255, 0.1); /* For cards on dark background */
    --card-dark-border: rgba(255, 255, 255, 0.2);
    --faq-question-bg: #fff;
    --faq-answer-bg: #f9f9f9;
    --faq-border-color: #e0e0e0;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default text color for light body background */
    background-color: var(--secondary-color); /* Body background is white */
}

/* --- Global Section & Container Styles --- */
.page-cockfighting__section {
    padding: 60px 0;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden; /* Ensure no horizontal overflow */
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--button-register-bg); /* Use a strong accent color */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.page-cockfighting__text-block a:hover {
    text-decoration: underline;
}

.page-cockfighting__highlight {
    color: var(--primary-color);
    font-weight: 700;
}

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

/* --- 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: var(--header-offset, 120px); /* Ensure space for fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a9e62 100%); /* Green gradient */
    color: var(--text-color-light);
}

.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 {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.page-cockfighting__hero-image img:hover {
    transform: scale(1.02);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-top: -80px; /* Overlap image slightly */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--button-register-text); /* Yellow for prominence */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-color-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: var(--button-register-bg); /* Red for CTA */
    color: var(--button-register-text); /* Yellow text for contrast */
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--button-register-text); /* Yellow border */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button:hover {
    background: #B00707; /* Darkened #C30808 by 10% */
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--text-color-light); /* White border on hover */
}

/* --- Introduction Section --- */
.page-cockfighting__introduction-section {
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
    padding-top: 80px;
}

/* --- Types Section --- */
.page-cockfighting__types-section {
    background-color: #f5f5f5; /* Light grey background */
    color: var(--text-color-dark);
}

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

.page-cockfighting__card {
    background: var(--secondary-color);
    border: 1px solid var(--faq-border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}