/* style/cockfighting.css */

:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #1A1A1A; /* Đen */
    --accent-color: #E74C3C; /* Đỏ nhấn */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #111111;
    --bg-light: #f8f8f8;
    --border-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting {
    color: var(--text-light); /* Body background #111 (dark), so text should be light */
    background-color: var(--bg-dark);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-cockfighting__section-title {
    font-size: 3em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

/* 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 header */
    background: linear-gradient(135deg, var(--secondary-color), #0a0a0a);
    box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.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.4);
}

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

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    object-fit: cover;
    pointer-events: none;
}

.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: 12px;
    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: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    padding: 12px 25px;
    background: rgba(255, 215, 0, 0.8);
    border-radius: 8px;
    white-space: nowrap;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(1.05); opacity: 1; }
}

.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: 18px 45px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 10px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-cockfighting__play-now-button:hover {
    background: #FFC400; /* Slightly darker gold */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6);
}

.page-cockfighting__play-now-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* H1 Title Section */
.page-cockfighting__title-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to right, #222, var(--secondary-color), #222);
    color: var(--text-light);
    border-bottom: 5px solid var(--primary-color);
}

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

.page-cockfighting__main-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 16px 35px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-cockfighting__btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.page-cockfighting__btn-primary:hover {
    background: #FFC400;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* General Content Sections */
.page-cockfighting__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

.page-cockfighting__about-dagasection .page-cockfighting__section-title {
    color: var(--secondary-color);
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.page-cockfighting__subsection-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-cockfighting__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-cockfighting__list-item {
    margin-bottom: 10px;
}

.page-cockfighting__image-text-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-cockfighting__grid-item-text {
    flex: 1;
}

.page-cockfighting__grid-item-image {
    flex: 1;
    text-align: center;
}

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

.page-cockfighting__image--full-width {
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section .page-cockfighting__section-title {
    color: var(--primary-color);
}

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

.page-cockfighting__feature-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--text-light);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 8px rgba(255, 215, 0, 0.3));
}

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

.page-cockfighting__feature-item p {
    font-size: 1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__cta-buttons--center {
    justify-content: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: var(--secondary-color);
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
}

.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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

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

.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.3s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 10px 10px;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.page-cockfighting__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

/* Brand Section */
.page-cockfighting__brand-section .page-cockfighting__section-title {
    color: var(--primary-color);
}

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

.page-cockfighting__brand-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--text-light);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-cockfighting__brand-item:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__brand-item-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

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

.page-cockfighting__image--brand-intro {
    margin-top: 40px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Blog Section */
.page-cockfighting__blog-section .page-cockfighting__section-title {
    color: var(--secondary-color);
}

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

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

.page-cockfighting__blog-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__blog-item-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__blog-item-content {
    padding: 25px;
}

.page-cockfighting__blog-item-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

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

.page-cockfighting__blog-item-date {
    font-size: 0.9em;
    color: #888;
    display: block;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 3em;
    }
    .page-cockfighting__title-description {
        font-size: 1.2em;
    }
    .page-cockfighting__play-now-button {
        font-size: 20px;
        padding: 15px 40px;
    }
    .page-cockfighting__section-title {
        font-size: 2.5em;
    }
    .page-cockfighting__subsection-title {
        font-size: 1.8em;
    }
    .page-cockfighting__image-text-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* Mobile: Adjust for fixed header */
        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: 8px;
        overflow: hidden !important;
    }
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        object-fit: contain; /* Ensure video fits within container */
    }
    .page-cockfighting__video-click-hint {
        font-size: 16px !important;
        padding: 10px 20px !important;
    }
    .page-cockfighting__video-cta {
        margin-top: 25px;
        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: 15px 30px !important;
        font-size: 18px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__title-section {
        padding: 50px 15px;
    }
    .page-cockfighting__main-title {
        font-size: 2.5em;
    }
    .page-cockfighting__title-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__container {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }
    .page-cockfighting__subsection-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-cockfighting__text-block, .page-cockfighting__list-item, .page-cockfighting__faq-answer p {
        font-size: 1em;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 1.1em;
    }
    .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__features-grid, .page-cockfighting__brand-content, .page-cockfighting__blog-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-item, .page-cockfighting__brand-item, .page-cockfighting__blog-item {
        padding: 25px;
    }
    .page-cockfighting__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-cockfighting__feature-title, .page-cockfighting__brand-item-title {
        font-size: 1.6em;
    }
    .page-cockfighting__blog-item-title {
        font-size: 1.3em;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__image-text-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 2em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__play-now-button {
        font-size: 16px !important;
        padding: 12px 25px !important;
    }
    .page-cockfighting__video-click-hint {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }
}