:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0A192F;
    --background-light: #f5f5f5; /* Using a slightly off-white for light background */
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --card-bg-light-mode: #ffffff;
    --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-light); /* Default light background */
}

/* General container for content */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Dark background sections */
.page-cockfighting__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__section-description,
.page-cockfighting__dark-bg .page-cockfighting__card-title,
.page-cockfighting__dark-bg .page-cockfighting__card-text,
.page-cockfighting__dark-bg .page-cockfighting__feature-title,
.page-cockfighting__dark-bg .page-cockfighting__feature-text,
.page-cockfighting__dark-bg .page-cockfighting__step-title,
.page-cockfighting__dark-bg .page-cockfighting__step-text,
.page-cockfighting__dark-bg .page-cockfighting__benefit-title,
.page-cockfighting__dark-bg .page-cockfighting__benefit-text,
.page-cockfighting__dark-bg .page-cockfighting__faq-title,
.page-cockfighting__dark-bg .page-cockfighting__faq-text {
    color: var(--text-light);
}

/* Light background sections */
.page-cockfighting__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__card-title,
.page-cockfighting__light-bg .page-cockfighting__feature-title,
.page-cockfighting__light-bg .page-cockfighting__step-title,
.page-cockfighting__light-bg .page-cockfighting__benefit-title,
.page-cockfighting__light-bg .page-cockfighting__faq-title {
    color: var(--primary-color);
}

.page-cockfighting__light-bg .page-cockfighting__card-text,
.page-cockfighting__light-bg .page-cockfighting__feature-text,
.page-cockfighting__light-bg .page-cockfighting__step-text,
.page-cockfighting__light-bg .page-cockfighting__benefit-text,
.page-cockfighting__light-bg .page-cockfighting__faq-text {
    color: var(--text-dark);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px; /* Ensure sufficient height */
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
    color: var(--text-light);
    text-align: center;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Overlay for readability */
    border-radius: 10px;
}

.page-cockfighting__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Gold color for title */
    line-height: 1.2;
}

.page-cockfighting__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for text readability */
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-cockfighting__btn-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-link:hover {
    background-color: #e6c200; /* Darken secondary color */
}

.page-cockfighting__btn-text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    display: block; /* Ensure it takes full width for clickability */
    margin-top: 15px;
    padding: 0 20px 20px; /* Add padding to match card text */
}

.page-cockfighting__btn-text-link:hover {
    color: var(--text-light); /* Or a slightly darker gold */
}


/* Video Section */
.page-cockfighting__video-section {
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px; /* Max width for video */
    margin: 40px auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-cockfighting__cta-buttons--video {
    margin-top: 20px;
}

/* Info Section (Features Grid) */
.page-cockfighting__info-section {
    padding: 80px 20px;
}

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

.page-cockfighting__feature-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark bg */
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-10px);
}

.page-cockfighting__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%; /* Make icons circular */
    border: 2px solid var(--secondary-color);
    padding: 10px;
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-cockfighting__feature-text {
    font-size: 1em;
    color: var(--text-light);
}

/* Types Section (Cards Grid) */
.page-cockfighting__types-section {
    padding: 80px 20px;
}

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

.page-cockfighting__card {
    background-color: var(--card-bg-light-mode); /* White background for cards on light section */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-cockfighting__dark-bg .page-cockfighting__card {
    background-color: var(--card-bg-dark-mode); /* Darker background for cards on dark section */
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

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

.page-cockfighting__card-title {
    font-size: 1.4em;
    margin: 20px 20px 10px 20px;
    font-weight: bold;
}

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

.page-cockfighting__dark-bg .page-cockfighting__card-title a {
    color: var(--secondary-color);
}

.page-cockfighting__card-title a:hover {
    color: var(--secondary-color);
}

.page-cockfighting__dark-bg .page-cockfighting__card-title a:hover {
    color: var(--text-light);
}

.page-cockfighting__card-text {
    font-size: 1em;
    padding: 0 20px 20px 20px;
    color: var(--text-dark);
}

.page-cockfighting__dark-bg .page-cockfighting__card-text {
    color: var(--text-light);
}


/* Guide Section (Steps) */
.page-cockfighting__guide-section {
    padding: 80px 20px;
}

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

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-cockfighting__step-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    background-color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-cockfighting__step-text {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
    padding: 80px 20px;
}

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

.page-cockfighting__strategy-item {
    background-color: var(--card-bg-light-mode);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    color: var(--text-dark);
    border-left: 5px solid var(--secondary-color);
}

.page-cockfighting__strategy-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__strategy-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Benefits Section */
.page-cockfighting__benefits-section {
    padding: 80px 20px;
}

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

.page-cockfighting__benefit-card {
    background-color: var(--card-bg-dark-mode); /* Darker background for cards on dark section */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__benefit-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__benefit-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__benefit-text {
    font-size: 1em;
    color: var(--text-light);
}