/* style/cockfighting.css */

/* Custom Colors */
:root {
    --page-cockfighting-bg: #08160F;
    --page-cockfighting-card-bg: #11271B;
    --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-cockfighting-primary-color: #11A84E;
    --page-cockfighting-secondary-color: #22C768;
}

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

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

.page-cockfighting__dark-section {
    background-color: var(--page-cockfighting-bg);
    color: var(--page-cockfighting-text-main);
    padding: 60px 0;
}

.page-cockfighting__light-section {
    background-color: var(--page-cockfighting-card-bg);
    color: var(--page-cockfighting-text-main);
    padding: 60px 0;
}

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

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--page-cockfighting-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-cockfighting__hero-description {
    font-size: 1.2rem;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    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: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-cockfighting__btn-center {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--page-cockfighting-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-cockfighting__introduction p,
.page-cockfighting__how-to-play p,
.page-cockfighting__strategies p,
.page-cockfighting__promotions p,
.page-cockfighting__security p,
.page-cockfighting__cta-final p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
}

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

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

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

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

.page-cockfighting__type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-cockfighting__steps-list li,
.page-cockfighting__tips-list li,
.page-cockfighting__security-list li {
    background-color: var(--page-cockfighting-card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--page-cockfighting-border);
    color: var(--page-cockfighting-text-main);
    text-align: center;
}

.page-cockfighting__steps-list li h3,
.page-cockfighting__tips-list li h3,
.page-cockfighting__security-list li h3 {
    font-size: 1.6rem;
    color: var(--page-cockfighting-primary-color);
    margin-bottom: 15px;
}

.page-cockfighting__steps-list li p,
.page-cockfighting__tips-list li p,
.page-cockfighting__security-list li p {
    font-size: 1.1rem;
    color: var(--page-cockfighting-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.page-cockfighting__sub-list {
    list-style: disc;
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
    padding-left: 20px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__sub-list li {
    background: none;
    border: none;
    padding: 5px 0;
    margin-bottom: 5px;
    text-align: left;
}

.page-cockfighting__faq-section {
    padding: 60px 0;
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 40px auto 0 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;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--page-cockfighting-gold);
    background-color: var(--page-cockfighting-deep-green);
    border-bottom: 1px solid var(--page-cockfighting-divider);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    background-color: var(--page-cockfighting-primary-color);
    color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

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

.page-cockfighting__faq-answer p {
    text-align: left;
    margin: 0;
}

/* Details element specific styling */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

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

.page-cockfighting__cta-final .page-cockfighting__section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-cockfighting__cta-final p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1rem;
    }
    .page-cockfighting__cta-final .page-cockfighting__section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__dark-section,
    .page-cockfighting__light-section {
        padding: 40px 0;
    }
    .page-cockfighting__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-cockfighting__hero-content {
        margin-top: 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__introduction p,
    .page-cockfighting__how-to-play p,
    .page-cockfighting__strategies p,
    .page-cockfighting__promotions p,
    .page-cockfighting__security p,
    .page-cockfighting__cta-final p {
        font-size: 1rem;
    }

    /* Mobile image responsiveness */
    .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__introduction,
    .page-cockfighting__why-choose,
    .page-cockfighting__game-types,
    .page-cockfighting__how-to-play,
    .page-cockfighting__strategies,
    .page-cockfighting__promotions,
    .page-cockfighting__security,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .page-cockfighting__cta-button,
    .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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add space between stacked buttons */
    }

    .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; /* Handled by parent section/container */
        padding-right: 0; /* Handled by parent section/container */
        overflow: hidden !important;
        flex-direction: column;
        gap: 10px;
    }

    .page-cockfighting__btn-center {
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__steps-list li,
    .page-cockfighting__tips-list li,
    .page-cockfighting__security-list li {
        padding: 20px;
    }

    .page-cockfighting__steps-list li h3,
    .page-cockfighting__tips-list li h3,
    .page-cockfighting__security-list li h3 {
        font-size: 1.4rem;
    }

    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-cockfighting__section-title {
        font-size: 1.5rem;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95rem;
    }
    .page-cockfighting__cta-final .page-cockfighting__section-title {
        font-size: 2rem;
    }
}