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

.page-cockfighting {
    background-color: var(--page-cockfighting-bg);
    color: var(--page-cockfighting-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;
    padding-top: 10px;
    padding-bottom: 60px;
    background-color: var(--page-cockfighting-deep-green);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin-top: -150px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding-bottom: 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--page-cockfighting-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__description {
    font-size: 1.1rem;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: var(--page-cockfighting-text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-gold);
    color: var(--page-cockfighting-bg);
}

.page-cockfighting__btn-tertiary {
    background-color: var(--page-cockfighting-deep-green);
    color: var(--page-cockfighting-text-main);
    border: 1px solid var(--page-cockfighting-border);
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 5px;
}

.page-cockfighting__btn-tertiary:hover {
    background-color: var(--page-cockfighting-border);
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--page-cockfighting-gold);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: 700;
}

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

.page-cockfighting__text-block,
.page-cockfighting__image-block {
    flex: 1;
}

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

.page-cockfighting__about-section p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__feature-card {
    background-color: var(--page-cockfighting-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-cockfighting__feature-description {
    color: var(--page-cockfighting-text-secondary);
    font-size: 0.95rem;
}

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

.page-cockfighting__step-card {
    background-color: var(--page-cockfighting-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-cockfighting-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    color: var(--page-cockfighting-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__video-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--page-cockfighting-deep-green);
    margin-top: 60px;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    width: 100%; /* Ensure width: 100% on desktop */
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: black;
}

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

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-cockfighting__promotion-card {
    background-color: var(--page-cockfighting-card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-cockfighting-border);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__promotion-title {
    font-size: 1.4rem;
    color: var(--page-cockfighting-gold);
    margin-bottom: 10px;
}

.page-cockfighting__promotion-description {
    color: var(--page-cockfighting-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.page-cockfighting__faq-item summary:hover {
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-cockfighting-gold);
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--page-cockfighting-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.page-cockfighting__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--page-cockfighting-deep-green);
    margin-top: 60px;
}

@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -100px;
        padding: 30px 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
    }
    .page-cockfighting__content-grid {
        flex-direction: column;
    }
    .page-cockfighting__image-block {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-content {
        margin-top: -80px;
        padding: 25px 15px;
        width: 95%;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-tertiary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__cta-buttons,
    .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__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-cockfighting__video,
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }

    .page-cockfighting__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9rem;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 20px 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-cockfighting__description {
        font-size: 0.9rem;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promotion-grid {
        gap: 20px;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__step-title,
    .page-cockfighting__promotion-title {
        font-size: 1.2rem;
    }
}