/* style/cockfighting.css */

/* Global page styles for cockfighting */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: #1A2E4E; /* Using primary brand color as dark background */
    padding-top: 120px; /* Spacing for fixed header on desktop */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    color: #ffffff;
    background: #1A2E4E; /* Fallback for dark-bg-1, ensuring dark theme */
    padding-top: 10px; /* Fixed header spacing for hero, as per new rule */
    margin-top: 0;
}

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

.page-cockfighting__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFD700;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

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

.page-cockfighting__hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the image to make text readable */
    display: block;
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700;
}

.page-cockfighting__sub-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-cockfighting__paragraph {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #f0f0f0; /* Default for dark sections */
}

.page-cockfighting__paragraph--centered {
    text-align: center;
    font-style: italic;
    color: #cccccc;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Backgrounds */
.page-cockfighting__dark-bg {
    background-color: #1A2E4E; /* Primary color */
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__sub-title {
    color: #1A2E4E;
}

.page-cockfighting__light-bg .page-cockfighting__paragraph,
.page-cockfighting__light-bg .page-cockfighting__list-item,
.page-cockfighting__light-bg .page-cockfighting__list-item strong {
    color: #333333;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #FFD700;
    color: #1A2E4E;
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A2E4E;
    transform: translateY(-2px);
}

.page-cockfighting__btn-text {
    background: none;
    border: none;
    color: #FFD700;
    padding: 0;
    text-decoration: underline;
    font-size: 16px;
    margin-top: 10px;
}

.page-cockfighting__btn-text:hover {
    color: #e6c200;
    text-decoration: none;
    transform: none;
}

/* Feature Grid (Why Choose Section) */
.page-cockfighting__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    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__feature-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-cockfighting__feature-description {
    font-size: 16px;
    color: #f0f0f0;
}

/* Step-by-Step (How to Play Section) */
.page-cockfighting__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    transition: transform 0.3s ease;
}

.page-cockfighting__step-item:hover {
    transform: translateY(-8px);
}

.page-cockfighting__step-number {
    width: 60px;
    height: 60px;
    background-color: #1A2E4E;
    color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.page-cockfighting__step-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1A2E4E;
}

.page-cockfighting__step-description {
    font-size: 16px;
    color: #555555;
}

/* Betting Types Section */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 17px;
    color: #f0f0f0;
    border-left: 4px solid #FFD700;
}

.page-cockfighting__list-item strong {
    color: #FFD700;
}

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

.page-cockfighting__tip-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    transition: transform 0.3s ease;
}

.page-cockfighting__tip-card:hover {
    transform: translateY(-8px);
}

.page-cockfighting__tip-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1A2E4E;
}

.page-cockfighting__tip-description {
    font-size: 16px;
    color: #555555;
}

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

.page-cockfighting__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__promo-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 15px 10px 15px;
    color: #FFD700;
}

.page-cockfighting__promo-description {
    font-size: 16px;
    color: #f0f0f0;
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
    margin: 0 15px 20px 15px;
    align-self: center;
    width: calc(100% - 30px);
}

/* Security & Support Section */
.page-cockfighting__grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting__security-info,
.page-cockfighting__support-info {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.page-cockfighting__security-info .page-cockfighting__sub-title,
.page-cockfighting__support-info .page-cockfighting__sub-title {
    color: #1A2E4E;
}

.page-cockfighting__security-info .page-cockfighting__paragraph,
.page-cockfighting__support-info .page-cockfighting__paragraph {
    color: #555555;
}

.page-cockfighting__contact-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px 0;
}

.page-cockfighting__contact-list li {
    margin-bottom: 8px;
    font-size: 16px;
}

.page-cockfighting__contact-list li a {
    color: #1A2E4E;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__contact-list li a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08); /* Dark background for FAQ item */
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: transparent; /* Transparent to show parent background */
    border: none;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    pointer-events: none;
}

.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: #e6c200;
    transform: rotate(180deg); /* Rotate for minus sign effect */
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background for answer */
    border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-cockfighting__faq-answer .page-cockfighting__btn-text {
    margin-top: 15px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 40px;
    }

    .page-cockfighting__hero-description {
        font-size: 18px;
    }

    .page-cockfighting__section-title {
        font-size: 32px;
    }

    .page-cockfighting__grid-2-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        padding-top: 100px !important; /* Spacing for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        padding: 60px 15px;
        min-height: 400px;
        padding-top: 10px !important; /* Fixed header spacing for hero on mobile */
    }

    .page-cockfighting__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }

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

    .page-cockfighting__sub-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-cockfighting__paragraph,
    .page-cockfighting__feature-description,
    .page-cockfighting__step-description,
    .page-cockfighting__tip-description,
    .page-cockfighting__promo-description,
    .page-cockfighting__list-item,
    .page-cockfighting__faq-answer p {
        font-size: 15px;
    }

    .page-cockfighting__feature-grid,
    .page-cockfighting__step-by-step,
    .page-cockfighting__tips-grid,
    .page-cockfighting__promotion-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-cockfighting__promo-image {
        height: 180px;
    }

    .page-cockfighting__promo-card .page-cockfighting__btn-primary {
        width: calc(100% - 30px) !important;
    }

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

    .page-cockfighting__faq-question h3 {
        font-size: 16px;
    }

    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
        margin-left: 15px;
    }

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

    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 20px !important;
    }

    /* All images responsive */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }

    /* All containers with images responsive */
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__image-content,
    .page-cockfighting__promo-image,
    .page-cockfighting__feature-card,
    .page-cockfighting__step-item,
    .page-cockfighting__tip-card,
    .page-cockfighting__promo-card,
    .page-cockfighting__security-info,
    .page-cockfighting__support-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}