/* style/cockfighting.css */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    line-height: 1.6;
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

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

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.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: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Custom color for Login/Register */
    color: #FFFF00; /* Custom color for Login/Register text */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
    background-color: #e00b0b;
    transform: translateY(-3px);
}

.page-cockfighting__btn-secondary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #005a2e;
    transform: translateY(-3px);
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #017439;
    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: #C30808;
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-cockfighting__text-block a {
    color: #017439;
    text-decoration: underline;
}

.page-cockfighting__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-cockfighting__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-cockfighting__dark-section {
    background-color: #017439;
    color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__text-block {
    color: #f0f0f0;
}

.page-cockfighting__dark-section .page-cockfighting__text-block a {
    color: #FFFF00;
}

.page-cockfighting__dark-section .page-cockfighting__section-title::after {
    background-color: #FFFF00;
}

.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: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-10px);
}

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

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

.page-cockfighting__card-description a {
    color: #017439;
    text-decoration: underline;
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__steps-list .page-cockfighting__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    margin-bottom: 20px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting__list-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
}

.page-cockfighting__list-item p {
    color: #555555;
}

.page-cockfighting__list-item p a {
    color: #017439;
    text-decoration: underline;
}

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

.page-cockfighting__bet-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__bet-list .page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: #333333;
}

.page-cockfighting__bet-list .page-cockfighting__list-item .page-cockfighting__list-title {
    color: #017439;
}

.page-cockfighting__bet-list .page-cockfighting__list-item p {
    color: #555555;
}

.page-cockfighting__bet-list .page-cockfighting__list-item p a {
    color: #017439;
    text-decoration: underline;
}

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

.page-cockfighting__promotion-cards .page-cockfighting__card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__promotion-cards .page-cockfighting__card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__promotion-cards .page-cockfighting__card .page-cockfighting__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-cockfighting__promotion-cards .page-cockfighting__card .page-cockfighting__card-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-cockfighting__promotion-cards .page-cockfighting__card .page-cockfighting__card-description {
    color: #555555;
    font-size: 0.95em;
}

.page-cockfighting__promotion-cards .page-cockfighting__card .page-cockfighting__card-description a {
    color: #017439;
    text-decoration: underline;
}

.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__security-list .page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: #333333;
}

.page-cockfighting__security-list .page-cockfighting__list-item .page-cockfighting__list-title {
    color: #017439;
}

.page-cockfighting__security-list .page-cockfighting__list-item p {
    color: #555555;
}

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

.page-cockfighting__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
    color: #017439;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #f0f0f0;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    font-size: 1.15em;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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: #555555;
}

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

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
}

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

.page-cockfighting__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-cta {
        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: 1em;
    }

    .page-cockfighting__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 1em;
    }

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

    .page-cockfighting__feature-grid, .page-cockfighting__promotion-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-card, .page-cockfighting__promotion-cards .page-cockfighting__card {
        padding: 20px;
    }

    .page-cockfighting__steps-list .page-cockfighting__list-item, .page-cockfighting__bet-list .page-cockfighting__list-item, .page-cockfighting__security-list .page-cockfighting__list-item {
        padding: 15px 20px;
    }

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

    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 1em;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 10px 20px;
    }

    .page-cockfighting__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-cockfighting__video-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
}