/* style/cockfighting.css */

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

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

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

.page-cockfighting__text-link {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: bold;
}

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

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid var(--glow-color);
}

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

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--background-color);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
    transform: translateY(-2px);
}

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

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-top: -80px; /* Overlap with image slightly for visual flow */
}

.page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gold-color);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

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

/* General Section Styling */
.page-cockfighting__intro-section, 
.page-cockfighting__why-choose-us-section, 
.page-cockfighting__types-section, 
.page-cockfighting__how-to-play-section, 
.page-cockfighting__tips-section, 
.page-cockfighting__promotions-section, 
.page-cockfighting__faq-section, 
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    position: relative;
}

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

.page-cockfighting__light-bg {
    background-color: #0e2017; /* A slightly lighter dark green for contrast */
    color: var(--text-main-color);
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__hero-description {
    color: var(--gold-color);
}

.page-cockfighting__dark-section .page-cockfighting__text-block {
    color: var(--text-secondary-color);
}

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

.page-cockfighting__feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--divider-color);
    transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.2);
}

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

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

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

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

.page-cockfighting__card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--divider-color);
}

.page-cockfighting__card-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-cockfighting__card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

/* How to Play Section */
.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

.page-cockfighting__step-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-cockfighting__step-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

/* Tips Section */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

.page-cockfighting__tip-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-cockfighting__tip-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

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

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

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: 1.1rem;
    }
    .page-cockfighting__feature-grid, .page-cockfighting__type-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100% !important; /* Ensure buttons are full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__feature-description,
    .page-cockfighting__card-description,
    .page-cockfighting__step-item p,
    .page-cockfighting__tip-item p,
    .page-cockfighting__faq-answer p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .page-cockfighting__intro-section, 
    .page-cockfighting__why-choose-us-section, 
    .page-cockfighting__types-section, 
    .page-cockfighting__how-to-play-section, 
    .page-cockfighting__tips-section, 
    .page-cockfighting__promotions-section, 
    .page-cockfighting__faq-section, 
    .page-cockfighting__conclusion-section {
        padding: 50px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__image {
        margin-top: 30px;
    }
    .page-cockfighting__feature-grid, .page-cockfighting__type-cards {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__feature-item, .page-cockfighting__card, .page-cockfighting__step-item, .page-cockfighting__tip-item, .page-cockfighting__faq-item {
        padding: 20px;
    }
    .page-cockfighting__feature-title, .page-cockfighting__card-title, .page-cockfighting__step-title, .page-cockfighting__tip-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        margin-top: -40px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.3rem, 7vw, 2.2rem);
    }
    .page-cockfighting__section-title {
        font-size: 1.6rem;
    }
    .page-cockfighting__cta-button {
        font-size: 0.95rem;
    }
}