/* style/cockfighting.css */

:root {
    --primary-color: #1A73E8;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-section: #0d0d0d; /* Assuming --dark-bg from shared.css is very dark */
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --border-color: #e0e0e0;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for the page, assuming dark body bg */
    background-color: var(--dark-bg); /* Inherited from shared.css */
}

.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-light);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__paragraph {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 15px;
}

/* Buttons */
.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;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
    background-color: #155bb5;
    border-color: #155bb5;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px);
    background-color: var(--bg-dark-section);
    min-height: 70vh;
}

.page-cockfighting__hero-content {
    flex: 1;
    padding-right: 40px;
    max-width: 600px;
    margin-left: auto;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-cockfighting__hero-buttons {
    display: flex;
    gap: 15px;
}

.page-cockfighting__hero-image-wrapper {
    flex: 1;
    max-width: 50%;
    text-align: right;
}

.page-cockfighting__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: var(--text-light);
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 80px 0;
    background-color: var(--bg-dark-section);
    color: var(--text-light);
}

.page-cockfighting__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.page-cockfighting__advantage-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-cockfighting__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* How-to-Play Section */
.page-cockfighting__how-to-play-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: var(--text-light);
}

.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-cockfighting__list-item {
    background-color: var(--card-bg-dark-mode);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 80px;
}

.page-cockfighting__list-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-cockfighting__list-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
    padding: 80px 0;
    background-color: var(--bg-dark-section);
    color: var(--text-light);
}

.page-cockfighting__bet-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting__bet-card {
    background-color: var(--card-bg-dark-mode);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Strategies Section */
.page-cockfighting__strategies-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: var(--text-light);
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
}

.page-cockfighting__strategy-list .page-cockfighting__list-item {
    padding-left: 0; /* Override default list item padding */
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    margin-bottom: 15px;
}

.page-cockfighting__strategy-list .page-cockfighting__list-item::before {
    content: '•'; /* Use a simple bullet point */
    position: static;
    display: inline-block;
    margin-right: 10px;
    background-color: transparent;
    color: var(--secondary-color);
    font-size: 1.5em;
    width: auto;
    height: auto;
    vertical-align: middle;
}

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

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 0;
    background-color: var(--bg-dark-section);
    color: var(--text-light);
}

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

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

.page-cockfighting__promo-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: var(--text-light);
}

.page-cockfighting__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg-dark-mode);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

/* Call to Action Section */
.page-cockfighting__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
    color: var(--text-light);
}

.page-cockfighting__cta-section .page-cockfighting__section-description {
    color: #f0f0f0;
}

.page-cockfighting__cta-section .page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        padding-top: calc(var(--header-offset, 120px) + 20px);
    }

    .page-cockfighting__hero-content {
        padding-right: 0;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .page-cockfighting__hero-image-wrapper {
        max-width: 80%;
        text-align: center;
    }

    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }

    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
    }

    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
    }

    .page-cockfighting__section-description {
        font-size: 0.9em;
    }

    .page-cockfighting__advantages-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__bet-types-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__container,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__hero-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__list-item {
        padding-left: 60px;
    }

    .page-cockfighting__list-item::before {
        width: 30px;
        height: 30px;
        font-size: 1.2em;
        left: 15px;
        top: 25px;
    }

    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

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

    .page-cockfighting__cta-section .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

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

    .page-cockfighting__section-title {
        font-size: 1.5em;
    }

    .page-cockfighting__list-title {
        font-size: 1.3em;
    }
}