:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-cockfighting {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space for content below image */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-cockfighting__hero-content {
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    margin-top: -80px; /* Overlap slightly on the image for visual flow */
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    background: var(--btn-gradient);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--large {
    padding: 18px 35px;
    font-size: 1.25rem;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__why-choose-us,
.page-cockfighting__game-types,
.page-cockfighting__how-to-play-section,
.page-cockfighting__strategy-section,
.page-cockfighting__responsible-gaming-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
    padding: 60px 0;
}

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

.page-cockfighting__feature-item,
.page-cockfighting__game-card,
.page-cockfighting__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-cockfighting__feature-item:hover,
.page-cockfighting__game-card:hover,
.page-cockfighting__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-icon,
.page-cockfighting__game-image,
.page-cockfighting__process-image,
.page-cockfighting__strategy-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__feature-title,
.page-cockfighting__game-title,
.page-cockfighting__step-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-description,
.page-cockfighting__game-description,
.page-cockfighting__step-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-cockfighting__step-number {
    background-color: var(--primary-color);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 0.95rem;
    background: var(--btn-gradient);
    color: var(--text-main);
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__step-button:hover {
    opacity: 0.9;
}

.page-cockfighting__process-image-wrapper,
.page-cockfighting__strategy-image-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

.page-cockfighting__strategy-heading {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

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

.page-cockfighting__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%; /* Desktop width: 100% */
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

.page-cockfighting__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-cockfighting__responsible-item {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1rem;
}

.page-cockfighting__responsible-item strong {
    color: var(--primary-color);
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--primary-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main);
}

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

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

.page-cockfighting__cta-final-section {
    background: linear-gradient(to right, var(--deep-green), var(--primary-color));
    text-align: center;
    padding: 80px 0;
    border-top: 5px solid var(--gold-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: #ffffff;
    margin-top: 0;
}

.page-cockfighting__cta-final-section .page-cockfighting__paragraph {
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.95rem, 1.7vw, 1.15rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__game-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__game-title,
    .page-cockfighting__step-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__strategy-heading {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__why-choose-us,
    .page-cockfighting__game-types,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__responsible-gaming-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
    .page-cockfighting__cta-button,
    .page-cockfighting__cta-button--large,
    .page-cockfighting__step-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__cta-wrapper,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__game-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__responsible-list {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
    }
    .page-cockfighting__section-title {
        margin-top: 40px;
        margin-bottom: 30px;
    }
}