/* 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 {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Main text color for dark background */
    background-color: var(--background-color);
    line-height: 1.6;
    font-size: 16px;
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__text-block {
    margin-bottom: 20px;
    color: var(--text-main-color);
}

/* Buttons */
.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: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(87, 227, 141, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--background-color);
    transform: translateY(-3px);
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
    background-color: var(--deep-green-color);
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for aesthetic */
    margin-bottom: 30px;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 1000px;
    text-align: center;
}

/* Intro Section */
.page-cockfighting__intro-section,
.page-cockfighting__features-section,
.page-cockfighting__rules-section,
.page-cockfighting__betting-guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__advantages-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

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

.page-cockfighting__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-cockfighting__feature-description {
    color: var(--text-secondary-color);
    font-size: 15px;
}

/* Rules Section */
.page-cockfighting__rule-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px 0;
}

.page-cockfighting__rule-item {
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: var(--text-main-color);
    font-size: 17px;
}

.page-cockfighting__rule-item strong {
    color: var(--gold-color);
}

/* Betting Guide Section */
.page-cockfighting__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

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

.page-cockfighting__step-description {
    color: var(--text-secondary-color);
}

/* Strategy Section */
.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__strategy-item {
    background-color: var(--card-bg);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__strategy-heading {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-cockfighting__strategy-description {
    color: var(--text-secondary-color);
}

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

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

.page-cockfighting__advantage-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-cockfighting__advantage-description {
    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(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

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

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

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

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    color: var(--text-secondary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 15px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding-top: 15px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-question .page-cockfighting__faq-toggle {
    content: '−';
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-cockfighting__subtitle {
        font-size: 1.1rem;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__step-card,
    .page-cockfighting__advantage-card {
        padding: 25px;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__step-title,
    .page-cockfighting__advantage-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 15px;
        line-height: 1.5;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-cockfighting__subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-content {
        padding: 0 15px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }
    .page-cockfighting__feature-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__advantage-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-image {
        height: 180px;
    }
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__rules-section,
    .page-cockfighting__betting-guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding: 50px 0;
    }

    /* Mobile image responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__rules-section,
    .page-cockfighting__betting-guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__advantages-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: hidden !important;
    }
    .page-cockfighting__hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-cockfighting__cta-buttons {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-cockfighting__faq-question {
        font-size: 16px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 20px;
    }
    .page-cockfighting__faq-answer {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 24px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__step-title,
    .page-cockfighting__advantage-title {
        font-size: 18px;
    }
}