/* style/cockfighting.css */

/* Variables for colors */
:root {
    --pbv88-primary-color: #11A84E;
    --pbv88-secondary-color: #22C768;
    --pbv88-button-gradient-start: #2AD16F;
    --pbv88-button-gradient-end: #13994A;
    --pbv88-card-bg: #11271B;
    --pbv88-background: #08160F;
    --pbv88-text-main: #F2FFF6;
    --pbv88-text-secondary: #A7D9B8;
    --pbv88-border-color: #2E7A4E;
    --pbv88-glow-color: #57E38D;
    --pbv88-gold-color: #F2C14E;
    --pbv88-divider-color: #1E3A2A;
    --pbv88-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--pbv88-text-main); /* Light text for dark background */
    background-color: var(--pbv88-background); /* Dark background */
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background-color: var(--pbv88-deep-green);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
}

.page-cockfighting__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    z-index: 2;
    color: var(--pbv88-text-main);
}

.page-cockfighting__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--pbv88-gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__intro-text {
    font-size: 1.2em;
    color: var(--pbv88-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 10px;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, var(--pbv88-button-gradient-start) 0%, var(--pbv88-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid var(--pbv88-button-gradient-start);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--pbv88-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-cockfighting__video-section {
    padding: 60px 20px;
    background-color: var(--pbv88-deep-green);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
}

.page-cockfighting__section-header {
    margin-bottom: 40px;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--pbv88-gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: var(--pbv88-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-cockfighting__video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    box-sizing: border-box;
}

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

.page-cockfighting__btn-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: linear-gradient(180deg, var(--pbv88-button-gradient-start) 0%, var(--pbv88-button-gradient-end) 100%);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__btn-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__content-area {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--pbv88-background);
    color: var(--pbv88-text-main);
    box-sizing: border-box;
}

.page-cockfighting__dark-section {
    background-color: var(--pbv88-deep-green);
    color: var(--pbv88-text-main);
}

.page-cockfighting__section-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.page-cockfighting__sub-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    color: var(--pbv88-gold-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-cockfighting__paragraph {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--pbv88-text-main);
}

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

.page-cockfighting__list-item {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--pbv88-text-main);
}

.page-cockfighting__list-item::before {
    content: '•';
    color: var(--pbv88-primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item::before {
    content: counter(list-item) '.';
    counter-increment: list-item;
    color: var(--pbv88-gold-color);
    font-weight: bold;
    left: 0;
}

.page-cockfighting__list-item a,
.page-cockfighting__paragraph a {
    color: var(--pbv88-secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__list-item a:hover,
.page-cockfighting__paragraph a:hover {
    text-decoration: underline;
}

.page-cockfighting__cta-text {
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--pbv88-gold-color);
}

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

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

.page-cockfighting__card,
.page-cockfighting__feature-card,
.page-cockfighting__promotion-card {
    background-color: var(--pbv88-card-bg);
    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;
    color: var(--pbv88-text-main);
    border: 1px solid var(--pbv88-border-color);
}

.page-cockfighting__card:hover,
.page-cockfighting__feature-card:hover,
.page-cockfighting__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image,
.page-cockfighting__feature-image,
.page-cockfighting__promotion-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--pbv88-divider-color);
}

.page-cockfighting__card-title,
.page-cockfighting__feature-title,
.page-cockfighting__promotion-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--pbv88-gold-color);
    padding: 20px 20px 10px;
    line-height: 1.4;
}

.page-cockfighting__card-text,
.page-cockfighting__feature-text,
.page-cockfighting__promotion-text {
    font-size: 0.95em;
    color: var(--pbv88-text-secondary);
    padding: 0 20px 20px;
    line-height: 1.7;
}

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

.page-cockfighting__faq-item {
    background-color: var(--pbv88-card-bg);
    border: 1px solid var(--pbv88-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-item summary {
    list-style: none;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--pbv88-text-main);
    cursor: pointer;
    background-color: var(--pbv88-deep-green);
    border-bottom: 1px solid var(--pbv88-divider-color);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--pbv88-primary-color);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--pbv88-gold-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--pbv88-gold-color);
    margin-left: 15px;
}

.page-cockfighting__faq-answer {
    padding: 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--pbv88-text-secondary);
    background-color: var(--pbv88-card-bg);
}

.page-cockfighting__final-cta {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        max-width: 700px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2em, 3.5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting__hero-content {
        padding: 15px;
        width: calc(100% - 30px);
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-cockfighting__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important;
        padding: 12px 15px;
    }

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

    .page-cockfighting__section-title {
        font-size: clamp(1.6em, 5vw, 2.2em);
    }

    .page-cockfighting__section-description {
        font-size: 0.95em;
    }

    .page-cockfighting__video-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-cockfighting__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }

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

    .page-cockfighting__content-area {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__card-grid,
    .page-cockfighting__feature-grid,
    .page-cockfighting__promotion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__feature-image,
    .page-cockfighting__promotion-image {
        height: 200px;
    }

    .page-cockfighting__card,
    .page-cockfighting__feature-card,
    .page-cockfighting__promotion-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-cockfighting__faq-answer {
        padding: 15px;
    }

    .page-cockfighting__list-item,
    .page-cockfighting__paragraph {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        width: calc(100% - 20px);
        padding: 10px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }

    .page-cockfighting__btn-play-overlay {
        padding: 10px 25px;
        font-size: 1em;
    }
}