.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Body background from shared.css */
}

/* Fixed Header Spacing */
.page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px); /* Use shared CSS variable for header offset */
}

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

/* Section Styling */
.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

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

/* Dark Background Sections */
.page-cockfighting__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
    padding: 60px 0;
}
.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: #ffffff; /* White title for dark background */
}
.page-cockfighting__dark-bg a {
    color: #FFFF00; /* Yellow for links on dark background */
}

/* Light Background Sections */
.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}
.page-cockfighting__light-bg a {
    color: #017439; /* Brand color for links on light background */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 0;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for mobile responsiveness */
    max-width: 100%; /* Crucial for mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
    background-color: #e02a2a;
    border-color: #e02a2a;
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #ffffff; /* White text for secondary on dark hero */
    border: 2px solid #ffffff;
}
.page-cockfighting__hero-section .page-cockfighting__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}
.page-cockfighting__light-bg .page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand color for secondary on light background */
    border-color: #017439;
}


.page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.page-cockfighting__light-bg .page-cockfighting__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Intro Section */
.page-cockfighting__intro-section .page-cockfighting__text-block {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Wrapper */
.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 100%; /* Ensure it takes full width */
    box-sizing: border-box; /* Crucial for mobile responsiveness */
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Ensure it's block level for max-width to work */
}

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

.page-cockfighting__advantage-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-cockfighting__advantage-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__advantage-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-cockfighting__advantage-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-cockfighting__advantage-description {
    font-size: 1em;
    color: #f0f0f0;
}

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