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

.page-cockfighting {
    background-color: var(--main-bg);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-cockfighting__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 30px 20px;
    z-index: 1;
    margin-top: -100px; /* Pull content up slightly over image */
    position: relative;
    background: rgba(8, 22, 15, 0.8); /* Dark background for text readability */
    border-radius: 10px;
    padding: 20px;
}

.page-cockfighting__main-title {
    color: var(--gold-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-description {
    color: var(--text-main);
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

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

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

.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: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section {
    padding: 60px 20px;
    background-color: var(--main-bg);
}

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

.page-cockfighting__section-title {
    color: var(--gold-color);
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__text-block {
    color: var(--text-secondary);
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

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

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

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

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

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

.page-cockfighting__card-text {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.7;
}

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

.page-cockfighting__game-cards .page-cockfighting__card-image {
    height: 220px;
}

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

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

.page-cockfighting__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main);
    position: relative;
}

.page-cockfighting__step-icon {
    background: var(--button-gradient);
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    margin: -55px auto 20px auto;
    border: 3px solid var(--main-bg);
    box-shadow: 0 0 0 5px var(--deep-green);
}

.page-cockfighting__step-card .page-cockfighting__card-image {
    margin-top: 20px;
}

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

.page-cockfighting__step-text {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.7;
}

.page-cockfighting__feature-list,
.page-cockfighting__strategy-list,
.page-cockfighting__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__feature-item,
.page-cockfighting__strategy-item,
.page-cockfighting__responsible-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-cockfighting__feature-item strong,
.page-cockfighting__strategy-title {
    color: var(--gold-color);
    font-size: 1.2em;
    margin-bottom: 10px;
    display: block;
}

.page-cockfighting__strategy-text {
    color: var(--text-secondary);
    font-size: 0.95em;
}

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

.page-cockfighting__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-cockfighting__contact-methods .page-cockfighting__btn-secondary {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-cockfighting__support-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    color: var(--gold-color);
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__main-title {
        font-size: 2em;
        max-width: 100%;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        max-width: 100%;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-content {
        margin-top: -50px;
        padding: 15px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 0.95em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__card-image,
    .page-cockfighting__game-cards .page-cockfighting__card-image,
    .page-cockfighting__step-card .page-cockfighting__card-image,
    .page-cockfighting__support-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__promo-grid,
    .page-cockfighting__contact-methods,
    .page-cockfighting__faq-list,
    .page-cockfighting__grid-layout,
    .page-cockfighting__game-cards,
    .page-cockfighting__steps-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-cockfighting__step-icon {
        margin-top: 0;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
    }
    .page-cockfighting__faq-answer {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
}