/* style/cockfighting.css */

/* Custom colors from palette */
:root {
    --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 {
    color: var(--page-cockfighting-text-main); /* Dark background, so light text */
    background-color: var(--page-cockfighting-background);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-cockfighting__container--center {
    text-align: center;
}

.page-cockfighting__section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-background);
}

.page-cockfighting__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    color: var(--page-cockfighting-text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: var(--page-cockfighting-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-cockfighting__subtitle {
    font-size: 1.8em;
    color: var(--page-cockfighting-text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles top offset, use small padding for visual */
    overflow: hidden;
    text-align: center;
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-cockfighting__hero-content {
    position: relative; /* Ensure content is above any potential background layers */
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    margin-top: -150px; /* Pull content slightly over image for design, but not covering */
    background-color: rgba(8, 22, 15, 0.8); /* Background color with transparency */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-deep-green);
    color: var(--page-cockfighting-text-main);
    transform: translateY(-2px);
}

/* Intro Section */
.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__text-block p {
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-cockfighting__image-wrapper {
    text-align: center;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

/* Betting Options Section */
.page-cockfighting__betting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-cockfighting__card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__card p {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1em;
}

.page-cockfighting__image-wrapper--full-width {
    margin: 40px 0;
}

.page-cockfighting__image-wrapper--full-width .page-cockfighting__image {
    width: 100%;
    max-width: 1000px;
    height: auto;
}

.page-cockfighting__ordered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-top: 20px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__ordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-cockfighting__ordered-list li strong {
    color: var(--page-cockfighting-text-main);
}

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

/* Guide Section */
.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__card--flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-cockfighting__step-icon {
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__step-content {
    text-align: left;
    width: 100%;
}

.page-cockfighting__unordered-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__unordered-list li {
    margin-bottom: 8px;
    font-size: 1em;
}

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

.page-cockfighting__advantage-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__advantage-title {
    font-size: 1.4em;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__advantage-item p {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1em;
}

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

.page-cockfighting__event-card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--page-cockfighting-text-main);
    text-align: center;
}

.page-cockfighting__event-card p {
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 20px;
}

.page-cockfighting__text-link {
    color: var(--page-cockfighting-glow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
    color: var(--page-cockfighting-gold);
    text-decoration: underline;
}

.page-cockfighting__event-note {
    color: var(--page-cockfighting-text-secondary);
    text-align: center;
    margin-top: 40px;
    font-style: italic;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--page-cockfighting-text-main);
    background-color: var(--page-cockfighting-card-bg);
    border-bottom: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-cockfighting__faq-question::marker { /* Hide default marker for Firefox */
    display: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid var(--page-cockfighting-divider);
}

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

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

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
}

.page-cockfighting__image-wrapper--center {
    text-align: center;
    margin-top: 40px;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__section-description {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-cockfighting__hero-content {
        margin-top: -100px; /* Adjust for larger screens */
        padding: 40px;
    }
    .page-cockfighting__content-grid {
        grid-template-columns: 2fr 1fr;
    }
    .page-cockfighting__advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-image-wrapper {
        max-height: 400px;
    }
    .page-cockfighting__hero-content {
        margin-top: -80px; /* Adjust for mobile */
        padding: 20px;
    }
    .page-cockfighting__main-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 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;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .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: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 15px;
    }
    .page-cockfighting__content-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__image-wrapper--full-width .page-cockfighting__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .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;
        overflow: hidden !important;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
    }
    .page-cockfighting__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
}