/* style/cockfighting.css */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for main content area */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 30px;
    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: #017439;
    border-radius: 2px;
}

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

.page-cockfighting__text-link {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
}

.page-cockfighting__text-link:hover {
    color: #005a2d;
}

.page-cockfighting__highlight-text {
    font-weight: bold;
    color: #017439;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

.page-cockfighting__btn-primary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-cockfighting__btn-register {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-cockfighting__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-cockfighting__btn-login {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-cockfighting__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-cockfighting__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #017439;
    color: #ffffff;
    border: 1px solid #017439;
}

.page-cockfighting__btn-small:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

/* Dark background section */
.page-cockfighting__dark-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__section-description,
.page-cockfighting__dark-section .page-cockfighting__feature-title,
.page-cockfighting__dark-section .page-cockfighting__feature-text,
.page-cockfighting__dark-section .page-cockfighting__type-title,
.page-cockfighting__dark-section .page-cockfighting__type-text {
    color: #ffffff;
}

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

/* Light background section */
.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    background-color: #f0fdf5; /* A very light green tint */
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    gap: 40px;
}

.page-cockfighting__hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

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

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-cockfighting__intro-section p {
    font-size: 1.05em;
    margin-bottom: 15px;
    text-align: justify;
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 0;
    background-color: #f0fdf5;
    position: relative;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    margin-top: 40px;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.page-cockfighting__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    padding: 60px 0;
}

.page-cockfighting__features-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.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-cockfighting__feature-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-cockfighting__step-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__step-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Popular Cockfighting Types Section */
.page-cockfighting__types-section {
    padding: 60px 0;
}

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

.page-cockfighting__type-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__type-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__type-card h3,
.page-cockfighting__type-card p {
    padding: 15px 20px;
    color: #ffffff;
}

.page-cockfighting__type-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__type-text {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 60px 0;
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting__tips-list li {
    background-color: #f0fdf5;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05em;
    color: #444444;
}

.page-cockfighting__tips-list li img {
    
    
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Security Section */
.page-cockfighting__security-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-cockfighting__security-list li {
    background-color: #f0fdf5;
    padding: 20px;
    border-left: 5px solid #017439;
    border-radius: 5px;
    font-size: 1.05em;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting__security-list li strong {
    color: #017439;
}

.page-cockfighting__security-section .page-cockfighting__btn-secondary {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Responsible Gaming Section */
.page-cockfighting__responsible-gaming-section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__responsible-gaming-section p {
    color: #f0f0f0;
    font-size: 1.05em;
    margin-bottom: 25px;
}

.page-cockfighting__responsible-gaming-section .page-cockfighting__btn-primary {
    margin-top: 20px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 60px 0;
    background-color: #f0fdf5;
}

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

.page-cockfighting__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__promo-title {
    font-size: 1.4em;
    color: #017439;
    padding: 15px 20px 10px;
}

.page-cockfighting__promo-text {
    font-size: 1em;
    color: #666666;
    padding: 0 20px 20px;
}

.page-cockfighting__promotions-section .page-cockfighting__btn-primary {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.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;
    cursor: pointer;
    background-color: #f0fdf5;
    color: #017439;
    font-size: 1.15em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    color: #017439;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

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

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

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

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
    text-align: justify;
}

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

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-cockfighting__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        flex-direction: column;
        text-align: center;
    }

    .page-cockfighting__hero-content,
    .page-cockfighting__hero-image-wrapper {
        max-width: 100%;
    }

    .page-cockfighting__hero-image {
        margin-top: 40px;
    }

    .page-cockfighting__hero-cta {
        justify-content: center;
    }

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

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

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 15px;
    }

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

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

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

    .page-cockfighting__hero-cta,
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small,
    .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;
    }

    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* Images responsive for mobile */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video responsive for mobile */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Important for video section on mobile */
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__tips-list,
    .page-cockfighting__security-list,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__tips-list li {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .page-cockfighting__tips-list li img {
        margin-bottom: 10px;
    }

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

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

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

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

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