/* style/cockfighting.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #1E90FF;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Body background is dark, so text is light */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: var(--dark-background-1); /* Inherited from shared, assuming dark */
}

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

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-cockfighting__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 700px;
    text-align: center;
    overflow: hidden;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary-color), #0f1e38);
    color: var(--text-light);
}

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

.page-cockfighting__hero-title {
    font-size: 3.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    line-height: 1.5;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 9;
}

.page-cockfighting__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

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

/* General Content Grid */
.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-cockfighting__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-cockfighting__text-block {
    padding: 20px;
}

.page-cockfighting__text-block p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.page-cockfighting__introduction-section .page-cockfighting__text-block p {
    color: var(--text-light);
}

.page-cockfighting__sub-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting__image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: block;
}

.page-cockfighting__image-block--center {
    margin-top: 40px;
}

/* Cards Grid */
.page-cockfighting__cards-grid,
.page-cockfighting__features-grid,
.page-cockfighting__steps-grid,
.page-cockfighting__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-cockfighting__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    flex-grow: 1;
}

/* Betting Types Specific */
.page-cockfighting__betting-types-section .page-cockfighting__card-title {
    color: var(--primary-color);
}

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

.page-cockfighting__list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.page-cockfighting__list li strong {
    color: var(--primary-color);
}

.page-cockfighting__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

/* Guide Section Specific */
.page-cockfighting__step-card {
    position: relative;
    padding-top: 50px; /* Space for number */
}

.page-cockfighting__step-number {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-small {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Promotions Section Specific */
.page-cockfighting__promotions-section .page-cockfighting__card-title {
    color: var(--primary-color);
}

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

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

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    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-title {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.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: rgba(255, 255, 255, 0.8);
    font-size: 1.05em;
}

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

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

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__section-title {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
    .page-cockfighting__content-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__content-grid--reverse {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__image-block {
        order: -1; /* Image first on smaller screens */
    }
    .page-cockfighting__text-block {
        padding: 0;
    }
    .page-cockfighting__cards-grid,
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__hero-section {
        min-height: 500px;
        padding: 60px 15px;
    }
    .page-cockfighting__hero-title {
        font-size: 2.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 25px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__video-wrapper {
        margin-top: 30px;
        border-radius: 10px;
    }
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5em;
    }
    .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__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .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: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__list li {
        font-size: 1em;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__faq-question {
        font-size: 1em;
    }
}