/* style/cockfighting.css */

/* Variables for colors */
:root {
    --shbet-primary-color: #11A84E;
    --shbet-secondary-color: #22C768;
    --shbet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --shbet-card-bg: #11271B;
    --shbet-background-color: #08160F;
    --shbet-text-main: #F2FFF6;
    --shbet-text-secondary: #A7D9B8;
    --shbet-border-color: #2E7A4E;
    --shbet-glow-color: #57E38D;
    --shbet-gold-color: #F2C14E;
    --shbet-divider-color: #1E3A2A;
    --shbet-deep-green-color: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--shbet-text-main); /* Default text color for the page */
    background-color: var(--shbet-background-color); /* Body background handled by shared.css, this is for main content consistency */
    line-height: 1.6;
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, header offset handled by body in shared.css */
    background-color: var(--shbet-deep-green-color);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    margin-top: -100px; /* Pull content up slightly over the bottom of the image for visual flow, NOT OVERLAYING */
    background-color: rgba(10, 75, 44, 0.8); /* Deep green with transparency */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 60px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--shbet-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--shbet-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--shbet-button-gradient);
    color: var(--shbet-text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
    opacity: 0.9;
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--shbet-gold-color);
    border: 2px solid var(--shbet-gold-color);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(242, 193, 78, 0.1);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--shbet-background-color);
}

.page-cockfighting__dark-section {
    background-color: var(--shbet-deep-green-color);
    color: var(--shbet-text-main);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--shbet-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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: var(--shbet-secondary-color);
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1rem;
    color: var(--shbet-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__text-block strong {
    color: var(--shbet-text-main);
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

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

.page-cockfighting__feature-card {
    background-color: var(--shbet-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--shbet-border-color);
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--shbet-glow-color);
}

.page-cockfighting__card-title {
    font-size: 1.4rem;
    color: var(--shbet-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-text {
    font-size: 0.95rem;
    color: var(--shbet-text-secondary);
}

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

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

.page-cockfighting__step-item {
    background-color: var(--shbet-card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid var(--shbet-secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__step-title {
    font-size: 1.3rem;
    color: var(--shbet-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-text {
    font-size: 0.95rem;
    color: var(--shbet-text-secondary);
}

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

.page-cockfighting__tip-item {
    background-color: var(--shbet-card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid var(--shbet-divider-color);
}

.page-cockfighting__tip-item::before {
    content: '✓';
    font-size: 1.5rem;
    color: var(--shbet-secondary-color);
    font-weight: bold;
    flex-shrink: 0;
}

.page-cockfighting__tip-title {
    font-size: 1.2rem;
    color: var(--shbet-text-main);
    margin-bottom: 5px;
    font-weight: bold;
}

.page-cockfighting__tip-text {
    font-size: 0.9rem;
    color: var(--shbet-text-secondary);
}

.page-cockfighting__text-link {
    color: var(--shbet-gold-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
    color: var(--shbet-secondary-color);
}

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

.page-cockfighting__faq-item {
    background-color: var(--shbet-card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--shbet-border-color);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--shbet-deep-green-color);
    color: var(--shbet-text-main);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* For details summary */
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--shbet-primary-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--shbet-gold-color);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 20px;
    background-color: var(--shbet-card-bg);
    color: var(--shbet-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    border-top: 1px solid var(--shbet-divider-color);
}

.page-cockfighting__faq-answer p {
    margin: 0;
    color: var(--shbet-text-secondary);
}

.page-cockfighting__faq-answer strong {
    color: var(--shbet-text-main);
}

.page-cockfighting__contact-cta {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -80px;
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-cockfighting__subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .page-cockfighting__content-area {
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
        margin-bottom: 40px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-cockfighting__subtitle {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        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__content-area,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-image,
    .page-cockfighting__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__card {
        padding: 20px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-cockfighting__step-title,
    .page-cockfighting__tip-title,
    .page-cockfighting__card-title {
        font-size: 1.1rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        margin-top: -40px;
    }
    .page-cockfighting__cta-buttons {
        gap: 10px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
    }
    .page-cockfighting__image-content {
        margin: 20px auto;
    }
}