/* style/cockfighting.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-dark-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.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(--text-main-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--bg-dark-color);
    min-height: 600px;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    color: var(--text-main-color);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    /* No fixed font-size for H1 */
}

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

.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: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-dark-color);
    transform: translateY(-2px);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 6px;
}

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 10px;
}

.page-cockfighting__overview-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__faq-section {
    background-color: var(--card-bg-color);
    padding: 60px 0;
    color: var(--text-main-color);
}

.page-cockfighting__rules-section,
.page-cockfighting__tips-section,
.page-cockfighting__guide-section,
.page-cockfighting__cta-bottom-section {
    background-color: var(--bg-dark-color);
    padding: 60px 0;
    color: var(--text-main-color);
}

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

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

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

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__rule-card p,
.page-cockfighting__bet-card p,
.page-cockfighting__advantage-card p {
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.page-cockfighting__rule-card ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-cockfighting__rule-card ul li {
    color: var(--text-secondary-color);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.page-cockfighting__rule-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-cockfighting__card-image {
    margin-top: 20px;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.page-cockfighting__tips-list,
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__tips-list li,
.page-cockfighting__guide-list li {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__tips-list li:hover,
.page-cockfighting__guide-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__tips-list p,
.page-cockfighting__guide-list p {
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.page-cockfighting__guide-list li a {
    margin-top: 15px;
    display: inline-block;
}

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

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

.page-cockfighting__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    list-style: none;
    outline: none;
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: 20px;
}

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

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

.page-cockfighting__cta-bottom-section {
    text-align: center;
    padding: 80px 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1 */
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        max-width: 300px; /* Limit button width on larger mobile/tablet */
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-description {
        font-size: 0.95em;
    }
    .page-cockfighting__hero-section {
        padding: 10px 0 40px 0;
        min-height: 400px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* More constrained H1 for mobile */
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__overview-section,
    .page-cockfighting__rules-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-bottom-section {
        padding: 40px 0;
    }
    .page-cockfighting__rules-grid,
    .page-cockfighting__bet-grid,
    .page-cockfighting__advantages-grid {
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
    .page-cockfighting__tips-list li,
    .page-cockfighting__guide-list li {
        padding: 20px;
    }
    .page-cockfighting__list-title {
        font-size: 1.1em;
    }
    .page-cockfighting__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__image-content {
        margin: 20px auto;
    }
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__hero-image {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 8vw, 2em); /* Even more constrained H1 */
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 0.95em;
        padding: 10px 15px;
    }
}