:root {
    --primary-color: #2F6BFF;
    --auxiliary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --page-bg: #F4F7FB;
    --text-main: #1F2D3D;
    --custom-color-1776249996415: #000000; /* For main titles */
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-cockfighting {
    background-color: var(--page-bg);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for first section */
}

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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Enforce image on top, content below */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width of its container */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-cockfighting__hero-title {
    font-weight: bold;
    color: var(--custom-color-1776249996415);
    margin-bottom: 15px;
    line-height: 1.2;
    font-size: clamp(2.2rem, 4vw, 3.2rem); 
}

.page-cockfighting__hero-description {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
}

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

.page-cockfighting__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.page-cockfighting__btn--primary {
    background: var(--button-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-cockfighting__btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-cockfighting__btn--secondary {
    background-color: var(--auxiliary-color);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(111, 163, 255, 0.3);
}

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

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--custom-color-1776249996415);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__faq-section {
    padding: 40px 0;
}

.page-cockfighting__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-main);
}

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

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

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

.page-cockfighting__feature-icon {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--custom-color-1776249996415);
    margin-bottom: 10px;
}

.page-cockfighting__card-description {
    font-size: 0.95rem;
    color: var(--text-main);
}

.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__step-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    border-left: 5px solid var(--primary-color);
}

.page-cockfighting__step-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--custom-color-1776249996415);
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    font-size: 1rem;
    color: var(--text-main);
}

.page-cockfighting__inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__inline-link:hover {
    text-decoration: underline;
}

.page-cockfighting__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.page-cockfighting__faq-question {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--custom-color-1776249996415);
    margin-bottom: 10px;
}

.page-cockfighting__faq-answer {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cockfighting__hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
    }

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

    .page-cockfighting__btn {
        width: 100%;
        max-width: 250px; /* Limit width for small screens */
        margin: 0 auto;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile content image overflow prevention */
    .page-cockfighting__hero-image,
    .page-cockfighting__feature-icon {
        max-width: 100%;
        height: auto;
    }
    .page-cockfighting img { /* Catch-all for images within .page-cockfighting */
        max-width: 100%;
        height: auto;
    }
}