/* style/cockfighting.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A202C; /* Midnight Blue/Dark */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-light: #f5f5f5;
    --border-color: #333;
}

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

/* --- 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 according to fixed header height */
    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(255, 215, 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.3);
}

.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(255, 215, 0, 0.8);
    border-radius: 5px;
    white-space: nowrap;
    color: var(--secondary-color); /* Ensure contrast on gold background */
}

.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(--primary-color);
    color: var(--secondary-color); /* Dark text on gold button */
    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(255, 215, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-cockfighting__play-now-button:hover {
    background: darken(var(--primary-color), 10%); /* Adjust for specific color */
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

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

/* --- General Sections & Containers --- */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.page-cockfighting__sub-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-cockfighting__text-block {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-cockfighting__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-cockfighting__text-block a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-cockfighting__image-wrapper {
    margin: 30px auto;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__image-wrapper--center {
  display: flex;
  justify-content: center;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 16px;
    color: var(--text-light);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

/* --- Title Section (Module 1) --- */
.page-cockfighting__title-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding-top: 10px; /* Adjust according to fixed header height */
}

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

.page-cockfighting__title-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__main-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
}

.page-cockfighting__title-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--secondary-color); /* Dark text on gold button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-cockfighting__cta-button:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

/* --- Features Section --- */
.page-cockfighting__features-section {
    padding: 60px 20px;
}

.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: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

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

.page-cockfighting__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-cockfighting__feature-description {
    font-size: 16px;
    color: var(--text-light);
}

/* --- Guide Section --- */
.page-cockfighting__guide-section {
    padding: 60px 20px;
    background-color: var(--bg-dark);
}

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

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--primary-color);
    counter-increment: step-counter;
    position: relative;
}

.page-cockfighting__step-item::before {
    content: "0" counter(step-counter);
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    font-weight: bold;
    color: rgba(255, 215, 0, 0.2);
    z-index: 0;
}

.page-cockfighting__step-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.page-cockfighting__step-item p {
    font-size: 16px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

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

.page-cockfighting__cta-button--primary {
    background: var(--primary-color);
    color: var(--secondary-color); /* Dark text on gold button */
}

.page-cockfighting__cta-button--primary:hover {
    background: #e6c200;
}

/* --- FAQ Section (Module 2) --- */
.page-cockfighting__faq-section {
    padding: 60px 20px;
}

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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-light);
}

.page-cockfighting__faq-question:hover {
    background: #2a3447; /* Slightly lighter dark blue */
    border-color: var(--primary-color);
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    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: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    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: 32px;
    height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: var(--text-light);
    transform: rotate(45deg); /* Change to X or rotate */
}

.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 25px;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.05); /* Very subtle light background */
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to accommodate any content */
    padding: 20px 25px !important;
    opacity: 1;
    color: var(--text-light);
}

.page-cockfighting__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

/* --- Brand Section (Module 3) --- */
.page-cockfighting__brand-section {
    padding: 60px 20px;
    background-color: var(--bg-dark);
}

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

.page-cockfighting__brand-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-cockfighting__brand-item p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

/* --- Blog Section (Module 4) --- */
.page-cockfighting__blog-section {
    padding: 60px 20px;
}

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

.page-cockfighting__blog-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-cockfighting__blog-link {
    display: block;
    text-decoration: none;
    color: var(--text-light);
    padding-bottom: 20px;
}

.page-cockfighting__blog-item-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-cockfighting__blog-item-title {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 20px 10px 20px;
    color: var(--primary-color);
    line-height: 1.4;
}

.page-cockfighting__blog-item-excerpt {
    font-size: 15px;
    margin: 0 20px 15px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__blog-item-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 20px;
    display: block;
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 768px) {
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* Mobile: Adjust according to fixed header height */
        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;
    }

    .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__video-click-hint {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }

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

    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-cockfighting__sub-title {
        font-size: 20px;
    }

    .page-cockfighting__text-block,
    .page-cockfighting__list-item,
    .page-cockfighting__feature-description,
    .page-cockfighting__step-item p,
    .page-cockfighting__faq-answer p,
    .page-cockfighting__brand-item p,
    .page-cockfighting__blog-item-excerpt {
        font-size: 15px;
    }

    .page-cockfighting__title-section {
        padding: 60px 15px;
        padding-top: 10px !important; /* Mobile: Adjust according to fixed header height */
    }

    .page-cockfighting__main-title {
        font-size: 32px;
    }

    .page-cockfighting__title-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-cockfighting__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px;
        font-size: 16px;
        white-space: normal;
        word-wrap: break-word;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__blog-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__blog-item,
    .page-cockfighting__brand-item {
        padding: 20px;
    }

    .page-cockfighting__feature-title,
    .page-cockfighting__blog-item-title,
    .page-cockfighting__brand-item h3 {
        font-size: 20px;
    }

    .page-cockfighting__step-item {
        padding: 20px 25px;
    }

    .page-cockfighting__step-title {
        font-size: 20px;
    }

    .page-cockfighting__step-item::before {
        font-size: 40px;
        left: -10px;
    }

    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }

    .page-cockfighting__faq-question h3 {
        font-size: 16px;
    }

    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 20px !important;
    }
    
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-cockfighting__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-cockfighting__blog-item-thumbnail {
        height: 180px;
    }
}