/* style/cockfighting.css */

/* Reset & Base Styles */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background from shared.css */
}

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

.page-cockfighting__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-cockfighting__first-module {
    padding-top: 120px; /* Adjust for fixed header */
}

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffc107; /* Gold accent color for titles */
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

/* Buttons */
.page-cockfighting__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-cockfighting__btn--primary {
    background-color: #ffc107; /* Gold primary button */
    color: #000000; /* Dark text for gold background */
    border-color: #ffc107;
}

.page-cockfighting__btn--primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-cockfighting__btn--secondary {
    background-color: transparent;
    color: #ffc107; /* Gold text for secondary button */
    border-color: #ffc107;
}

.page-cockfighting__btn--secondary:hover {
    background-color: #ffc107;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-cockfighting__btn--small {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 20px;
}

.page-cockfighting__btn--large {
    padding: 15px 35px;
    font-size: 18px;
    border-radius: 35px;
}

/* Hero Banner */
.page-cockfighting__hero-banner {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.8), rgba(0, 0, 0, 0.8)), url('[GALLERY:content:i9bet,dagatructuyen,background]') no-repeat center center/cover;
    background-attachment: fixed;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    position: relative;
    padding: 150px 20px 80px;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: 52px;
    color: #ffc107; /* Gold title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.8;
}

.page-cockfighting__hero-image-wrapper {
    margin-top: 40px;
    max-width: 800px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

/* Introduction Section */
.page-cockfighting__introduction {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
}

.page-cockfighting__introduction .page-cockfighting__text-block {
    font-size: 17px;
    line-height: 1.7;
    color: #e0e0e0;
    text-align: justify;
}

/* Game Types Section */
.page-cockfighting__game-types {
    background-color: rgba(0, 86, 179, 0.1); /* Slightly transparent blue for dark background */
}

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

.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.1); /* Light transparent background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.page-cockfighting__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

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

.page-cockfighting__card-content {
    padding: 25px;
    text-align: center;
}

.page-cockfighting__card-title {
    font-size: 24px;
    color: #ffc107; /* Gold title */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__card-text {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

/* Guide Section */
.page-cockfighting__guide {
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-cockfighting__guide-item {
    background-color: rgba(0, 86, 179, 0.2); /* Transparent blue background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 86, 179, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__guide-item p {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-cockfighting__guide-step-title {
    font-size: 22px;
    color: #ffc107;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Tips Section */
.page-cockfighting__tips {
    background-color: rgba(0, 0, 0, 0.6); /* Darker background for contrast */
}

.page-cockfighting__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__content-wrapper .page-cockfighting__text-block {
    flex: 1;
}

.page-cockfighting__content-wrapper .page-cockfighting__image-wrapper {
    flex: 1;
    text-align: center;
}

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

.page-cockfighting__tips-list {
    list-style: disc;
    padding-left: 25px;
    font-size: 17px;
    color: #e0e0e0;
}

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

.page-cockfighting__tips-list strong {
    color: #ffc107;
}

/* Promotions Section */
.page-cockfighting__promotions {
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-cockfighting__promo-card {
    background-color: rgba(0, 86, 179, 0.3); /* Blue transparent background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 86, 179, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__promo-title {
    font-size: 26px;
    color: #ffc107;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__promo-text {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Security Section */
.page-cockfighting__security {
    background-color: rgba(0, 0, 0, 0.6);
}

.page-cockfighting__security .page-cockfighting__content-wrapper {
    flex-direction: row-reverse; /* Image on right */
}

.page-cockfighting__security-list {
    list-style: none;
    padding-left: 0;
    font-size: 17px;
    color: #e0e0e0;
}

.page-cockfighting__security-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-cockfighting__security-list li::before {
    content: '✓';
    color: #ffc107;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* FAQ Section */
.page-cockfighting__faq {
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(0, 86, 179, 0.2); /* Transparent blue for FAQ item */
    border: 1px solid rgba(0, 86, 179, 0.5);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(0, 86, 179, 0.4); /* Darker transparent blue for question */
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background: rgba(0, 86, 179, 0.6);
}

.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: #ffc107;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    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: #ffffff;
    transform: rotate(45deg); /* Change to X or rotate */
}

.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;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

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

.page-cockfighting__faq-answer .page-cockfighting__btn {
    margin-top: 10px;
}

/* CTA Section */
.page-cockfighting__cta {
    background: linear-gradient(90deg, #0056b3, #003d80);
    text-align: center;
    padding: 80px 20px;
}

.page-cockfighting__cta .page-cockfighting__section-title {
    color: #ffc107;
    font-size: 40px;
}

.page-cockfighting__cta .page-cockfighting__section-description {
    color: #f0f0f0;
    font-size: 20px;
    margin-bottom: 50px;
}

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

/* Image responsiveness */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

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

    .page-cockfighting__section-description {
        font-size: 16px;
    }

    .page-cockfighting__content-wrapper {
        flex-direction: column;
    }

    .page-cockfighting__security .page-cockfighting__content-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__first-module {
        padding-top: 100px; /* Mobile adjust for fixed header */
    }

    .page-cockfighting__hero-banner {
        min-height: 500px;
        padding: 120px 15px 60px;
    }

    .page-cockfighting__main-title {
        font-size: 36px;
    }

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

    .page-cockfighting__section {
        padding: 40px 0;
    }

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

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

    .page-cockfighting__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-cockfighting__cards-grid, .page-cockfighting__guide-list, .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card-title {
        font-size: 20px;
    }

    .page-cockfighting__card-text, .page-cockfighting__guide-item p, .page-cockfighting__promo-text, .page-cockfighting__tips-list, .page-cockfighting__security-list {
        font-size: 15px;
    }

    .page-cockfighting__guide-step-title {
        font-size: 20px;
    }

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

    .page-cockfighting__cta .page-cockfighting__section-description {
        font-size: 16px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-banner,
    .page-cockfighting__hero-content,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__introduction,
    .page-cockfighting__game-types,
    .page-cockfighting__guide,
    .page-cockfighting__tips,
    .page-cockfighting__promotions,
    .page-cockfighting__security,
    .page-cockfighting__faq,
    .page-cockfighting__cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-cockfighting__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-cockfighting__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .page-cockfighting__faq-answer {
        padding: 0 15px;
    }
    
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px !important;
    }
}