/* style/cockfighting.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #000;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text is light */
    background-color: var(--bg-dark); /* Ensure this matches body background */
    padding-top: 120px; /* Default padding for fixed header on desktop */
}

/* --- Video Section --- */
.page-cockfighting__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Desktop: Adjust for fixed navigation bar */
    background-color: var(--bg-dark);
}

.page-cockfighting__video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__video-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    object-fit: cover;
    pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-cockfighting__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.page-cockfighting__video-link:hover .page-cockfighting__video-overlay {
    opacity: 1;
}

.page-cockfighting__video-click-hint {
    color: var(--text-light);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    background: rgba(0, 123, 255, 0.8); /* A generic blue for CTA hint */
    border-radius: 5px;
    white-space: nowrap;
}

.page-cockfighting__video-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.page-cockfighting__play-now-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color); /* Gold color */
    color: var(--text-dark); /* Dark text on gold for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.page-cockfighting__play-now-button:hover {
    background: darken(var(--secondary-color), 10%); /* Darken gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__play-now-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* --- General Section Styles --- */
.page-cockfighting__section {
    padding: 60px 20px;
    text-align: center;
}

.page-cockfighting__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-cockfighting__title-section {
    padding: 80px 20px;
    text-align: center;
    padding-top: 20px; /* Adjust if the video section has its own padding-top */
}

.page-cockfighting__title-container,
.page-cockfighting__intro-container,
.page-cockfighting__guide-container,
.page-cockfighting__faq-container,
.page-cockfighting__brand-container,
.page-cockfighting__blog-container,
.page-cockfighting__contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-cockfighting__title-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__cta-button,
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- Intro Section --- */
.page-cockfighting__intro-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-cockfighting__intro-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-cockfighting__intro-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-cockfighting__intro-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__intro-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__intro-item-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-cockfighting__intro-item p {
    font-size: 1em;
    color: var(--text-dark);
}

/* --- Guide Section --- */
.page-cockfighting__guide-section {
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting__guide-title {
    font-size: 2.8em;
    margin-bottom: 50px;
    color: var(--text-light);
}

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

.page-cockfighting__guide-step {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-cockfighting__guide-step p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

.page-cockfighting__guide-cta {
    margin-top: 40px;
}

/* --- FAQ Section --- */
.page-cockfighting__faq-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-cockfighting__faq-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background: #f5f5f5;
}

.page-cockfighting__faq-question:active {
    background: #eeeeee;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #fdfdfd;
    color: var(--text-dark);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px !important;
    opacity: 1;
}

/* --- Brand Section --- */
.page-cockfighting__brand-section {
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting__brand-title {
    font-size: 2.8em;
    margin-bottom: 50px;
    color: var(--text-light);
}

.page-cockfighting__brand-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-cockfighting__brand-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__brand-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__brand-item h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-cockfighting__brand-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Blog Section --- */
.page-cockfighting__blog-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-cockfighting__blog-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
}

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

.page-cockfighting__blog-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__blog-link {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.page-cockfighting__blog-item-image {
    width: calc(100% + 40px); /* Adjust for padding to make it full width within the card */
    margin-left: -20px;
    margin-right: -20px;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__blog-item-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-cockfighting__blog-item-excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-cockfighting__blog-item-date {
    font-size: 0.85em;
    color: #888;
    display: block;
}

/* --- Contact CTA Section --- */
.page-cockfighting__contact-cta {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__contact-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-cockfighting__contact-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__guide-title,
    .page-cockfighting__brand-title,
    .page-cockfighting__contact-title {
        font-size: 2.5em;
    }
    .page-cockfighting__intro-title,
    .page-cockfighting__faq-title,
    .page-cockfighting__blog-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        font-size: 15px;
    }

    .page-cockfighting__video-section {
        padding-top: 10px !important; /* Mobile: Adjust for fixed navigation bar */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-cockfighting__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    
    .page-cockfighting__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 4px;
        overflow: hidden !important;
    }
    
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
        object-fit: contain; /* Use contain to ensure video is fully visible */
    }

    .page-cockfighting__video-overlay {
        opacity: 1; /* Always show hint on mobile */
        background: rgba(0, 0, 0, 0.6);
    }

    .page-cockfighting__video-click-hint {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }
    
    .page-cockfighting__video-cta {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .page-cockfighting__play-now-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 30px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__main-title {
        font-size: 2.2em;
    }
    .page-cockfighting__title-description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__title-section {
        padding: 50px 15px;
        padding-top: 20px;
    }
    .page-cockfighting__intro-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__brand-section,
    .page-cockfighting__blog-section,
    .page-cockfighting__contact-cta {
        padding: 40px 15px;
    }

    .page-cockfighting__intro-title,
    .page-cockfighting__guide-title,
    .page-cockfighting__faq-title,
    .page-cockfighting__brand-title,
    .page-cockfighting__blog-title,
    .page-cockfighting__contact-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__intro-item,
    .page-cockfighting__guide-step,
    .page-cockfighting__brand-item,
    .page-cockfighting__blog-item {
        padding: 20px;
    }

    .page-cockfighting__intro-image,
    .page-cockfighting__brand-image {
        max-width: 120px;
    }

    .page-cockfighting__blog-item-image {
        height: 150px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }

    .page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 1em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px !important;
    }

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

    .page-cockfighting__intro-container,
    .page-cockfighting__guide-container,
    .page-cockfighting__faq-container,
    .page-cockfighting__brand-container,
    .page-cockfighting__blog-container,
    .page-cockfighting__contact-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-cockfighting__blog-item-image {
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting__intro-title,
    .page-cockfighting__guide-title,
    .page-cockfighting__faq-title,
    .page-cockfighting__brand-title,
    .page-cockfighting__blog-title,
    .page-cockfighting__contact-title {
        font-size: 1.5em;
    }
    .page-cockfighting__cta-button {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}