/* style/cockfighting.css */

/* Custom Colors */
:root {
    --page-cockfighting-primary-color: #11A84E;
    --page-cockfighting-secondary-color: #22C768;
    --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-cockfighting-card-bg: #11271B;
    --page-cockfighting-background: #08160F;
    --page-cockfighting-text-main: #F2FFF6;
    --page-cockfighting-text-secondary: #A7D9B8;
    --page-cockfighting-border: #2E7A4E;
    --page-cockfighting-glow: #57E38D;
    --page-cockfighting-gold: #F2C14E;
    --page-cockfighting-divider: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--page-cockfighting-text-main); /* Default text color for the page */
    background-color: var(--page-cockfighting-background); /* Default background for the page */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--page-cockfighting-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    font-weight: bold;
    line-height: 1.2;
}

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

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

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__main-title {
    color: var(--page-cockfighting-text-main);
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__hero-description {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1.15em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(34, 199, 104, 0.4);
}

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

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

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Content Sections */
.page-cockfighting__intro-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__rules-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
    padding: 60px 0;
}

.page-cockfighting__text-block {
    background-color: var(--page-cockfighting-background);
    color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__feature-card, .page-cockfighting__step-card {
    background-color: var(--page-cockfighting-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-cockfighting-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__feature-card:hover, .page-cockfighting__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-image, .page-cockfighting__step-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__feature-title, .page-cockfighting__step-title {
    font-size: 1.5em;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__list-item,
.page-cockfighting__ordered-list-item {
    background-color: var(--page-cockfighting-card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--page-cockfighting-primary-color);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__list-item p,
.page-cockfighting__ordered-list-item p {
    margin-bottom: 0;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list-title {
    font-size: 1.3em;
    color: var(--page-cockfighting-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__sub-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.page-cockfighting__sub-list li {
    margin-bottom: 5px;
    color: var(--page-cockfighting-text-secondary);
    background-color: transparent;
    border-left: none;
    padding: 0;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15em;
    color: var(--page-cockfighting-gold);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    color: var(--page-cockfighting-text-secondary);
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--page-cockfighting-deep-green);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-cockfighting__feature-image, .page-cockfighting__step-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset, this is decorative */
    }
    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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;
        overflow: hidden !important;
    }
    .page-cockfighting__feature-grid, .page-cockfighting__step-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-card, .page-cockfighting__step-card {
        padding: 20px;
    }
    .page-cockfighting__feature-image, .page-cockfighting__step-image {
        height: 180px;
    }
    .page-cockfighting__list-item,
    .page-cockfighting__ordered-list-item {
        padding: 15px;
    }
    .page-cockfighting__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__intro-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__rules-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding: 40px 0;
    }
    .page-cockfighting__container,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__text-block,
    .page-cockfighting__hero-section,
    .page-cockfighting__features-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__rules-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}