/* style/cockfighting.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --main-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--main-bg); /* Body background is handled by shared.css var(--site-bg) */
    overflow-x: hidden;
}

.page-cockfighting h1, .page-cockfighting h2, .page-cockfighting h3, .page-cockfighting h4, .page-cockfighting h5, .page-cockfighting h6 {
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-cockfighting a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting a:hover {
    color: var(--primary-color);
}

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

.page-cockfighting__dark-bg {
    background-color: var(--card-bg);
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
}

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

.page-cockfighting__section-description {
    text-align: center;
    margin-bottom: 50px;
    font-size: 18px;
    color: rgba(255, 246, 214, 0.8);
}

.page-cockfighting__content-area p {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-main);
}

/* HERO Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--main-bg);
}

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

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-cockfighting__intro-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main);
}

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

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
}

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

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

/* Grid Layout */
.page-cockfighting__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__grid-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

/* Card Styles */
.page-cockfighting__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

.page-cockfighting__card-content {
    padding: 25px;
}

.page-cockfighting__card-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.page-cockfighting__card-title a {
    color: var(--text-main);
}

.page-cockfighting__card-title a:hover {
    color: var(--primary-color);
}

.page-cockfighting__card-content p {
    font-size: 15px;
    color: rgba(255, 246, 214, 0.7);
    margin-bottom: 15px;
}

.page-cockfighting__card-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
    margin-top: 10px;
}

.page-cockfighting__card-link:hover {
    color: var(--primary-color);
}

.page-cockfighting__card-button {
    margin-top: 20px;
    width: auto;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 30px;
}

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

.page-cockfighting__guide-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-list h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.page-cockfighting__guide-list p {
    color: var(--text-main);
    font-size: 16px;
}

.page-cockfighting__guide-section .page-cockfighting__btn-primary {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Advantages Section */
.page-cockfighting__advantage-item {
    text-align: center;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__advantage-item img {
    max-width: 100%;
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(242, 193, 78, 0.5));
}

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

.page-cockfighting__advantage-item p {
    color: rgba(255, 246, 214, 0.7);
}

/* Promotions Section */
.page-cockfighting__promo-list {
    list-style: none;
    padding: 0;
}

.page-cockfighting__promo-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promo-list h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 10px;
}

.page-cockfighting__promo-list p {
    color: var(--text-main);
    font-size: 16px;
}

.page-cockfighting__promotions-section .page-cockfighting__btn-primary {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}
.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}
.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 25px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 10px 10px;
}

.page-cockfighting__faq-answer p {
    color: rgba(255, 246, 214, 0.8);
}

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

.page-cockfighting__blog-promo-section .page-cockfighting__card-image {
    height: 200px;
}

.page-cockfighting__blog-promo-section .page-cockfighting__card-content p:first-of-type {
    font-size: 14px;
    color: rgba(255, 246, 214, 0.6);
    margin-bottom: 10px;
}

.page-cockfighting__button-container {
    text-align: center;
}

.page-cockfighting__button-container .page-cockfighting__btn-secondary {
    font-size: 18px;
    padding: 12px 30px;
    border-radius: 50px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-cockfighting__intro-text {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    .page-cockfighting__grid-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-cockfighting__section, .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-cockfighting__hero-image img {
        border-radius: 4px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__cta-button, .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"], .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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__card-image {
        height: 200px;
    }
    .page-cockfighting__card-content {
        padding: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 20px;
    }
    .page-cockfighting__guide-list li {
        padding: 20px;
    }
    .page-cockfighting__guide-list h3 {
        font-size: 20px;
    }
    .page-cockfighting__advantage-item {
        padding: 20px;
    }
    .page-cockfighting__advantage-item h3 {
        font-size: 20px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 16px; }
    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
    .page-cockfighting__promo-list li {
        padding: 20px;
    }
    .page-cockfighting__promo-list h3 {
        font-size: 20px;
    }
    .page-cockfighting__blog-cards {
        gap: 20px;
    }
    .page-cockfighting__blog-promo-section .page-cockfighting__card-image {
        height: 180px;
    }
    .page-cockfighting__blog-promo-section .page-cockfighting__card-content p:first-of-type {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-cockfighting__intro-text {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }
    .page-cockfighting__cta-button {
        font-size: 16px;
        padding: 12px 30px;
    }
    .page-cockfighting__card-title {
        font-size: 18px;
    }
    .page-cockfighting__guide-list h3 {
        font-size: 18px;
    }
    .page-cockfighting__advantage-item h3 {
        font-size: 18px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 15px;
    }
    .page-cockfighting__promo-list h3 {
        font-size: 18px;
    }
    .page-cockfighting__button-container .page-cockfighting__btn-secondary {
        font-size: 16px;
        padding: 10px 25px;
    }
}