:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Overall text color for dark background */
    background-color: var(--color-background); /* Main background color */
    line-height: 1.6;
}

.page-cockfighting__section-spacing {
    padding: 60px 0;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: var(--color-button-gradient-start);
    background-image: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-cockfighting__btn-secondary:hover {
    background: rgba(var(--color-button-gradient-start), 0.1);
    color: var(--color-button-gradient-end);
    border-color: var(--color-button-gradient-end);
}

.page-cockfighting__btn-inline {
    margin-top: 20px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Minimal top padding, body handles header offset */
    min-height: 600px; /* Ensure hero section has a minimum height */
    box-sizing: border-box;
}

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

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    color: var(--color-text-main);
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-cockfighting__hero-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--color-text-main);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Content Grid */
.page-cockfighting__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-cockfighting__content-grid > div {
    flex: 1;
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.page-cockfighting__image-wrapper {
    text-align: center;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Dark Section Style */
.page-cockfighting__dark-section {
    background-color: var(--color-card-bg);
    border-top: 1px solid var(--color-divider);
    border-bottom: 1px solid var(--color-divider);
}

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

.page-cockfighting__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--color-text-main);
}

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

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin: 20px 20px 10px;
    font-weight: bold;
}

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

/* Guide Section */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__guide-list li {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 60px;
    color: var(--color-text-main);
}

.page-cockfighting__guide-list li strong {
    color: var(--color-gold);
}

.page-cockfighting__guide-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: var(--color-text-main);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-cockfighting__guide-section .page-cockfighting__text-block {
    counter-reset: step-counter;
}

.page-cockfighting__guide-cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Strategy Section */
.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__strategy-list li {
    background-color: var(--color-card-bg);
    border-left: 4px solid var(--color-primary);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: var(--color-text-main);
}

.page-cockfighting__strategy-list li strong {
    color: var(--color-gold);
}

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

.page-cockfighting__promo-cta {
    text-align: center;
    margin-top: 50px;
}

/* Features Section */
.page-cockfighting__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-cockfighting__feature-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: inline-block;
    object-fit: contain;
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__feature-text {
    color: var(--color-text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

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

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(var(--color-deep-green), 0.8);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    width: 25px;
    text-align: center;
    color: var(--color-gold);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    background-color: var(--color-primary);
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.page-cockfighting__faq-item details > summary {
    list-style: none;
}

.page-cockfighting__faq-item details > summary::-webkit-details-marker {
    display: none;
}

/* Conclusion Section */
.page-cockfighting__conclusion-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2em;
    }

    .page-cockfighting__hero-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        min-height: 450px;
    }

    .page-cockfighting__hero-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

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

    .page-cockfighting__hero-cta-buttons,
    .page-cockfighting__guide-cta-buttons,
    .page-cockfighting__conclusion-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-cockfighting__section-spacing {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-cockfighting__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-cockfighting__content-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-cockfighting__content-grid.--reverse-on-mobile {
        flex-direction: column-reverse;
    }

    .page-cockfighting__image,
    .page-cockfighting__card-image,
    .page-cockfighting__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__image-wrapper,
    .page-cockfighting__card,
    .page-cockfighting__feature-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__guide-list li {
        padding-left: 50px;
    }

    .page-cockfighting__guide-list li::before {
        left: 15px;
    }

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

    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-cockfighting__faq-toggle {
        margin-left: 10px;
    }

    /* Video section top padding for mobile */
    .page-cockfighting__hero-section {
      padding-top: 10px !important;
    }
    
    .page-cockfighting__hero-video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }

    .page-cockfighting__hero-video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }

    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
}