/* style/cockfighting.css */

/* Custom Colors */
:root {
    --cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --cockfighting-card-bg: #11271B;
    --cockfighting-background: #08160F;
    --cockfighting-text-main: #F2FFF6;
    --cockfighting-text-secondary: #A7D9B8;
    --cockfighting-border: #2E7A4E;
    --cockfighting-glow: #57E38D;
    --cockfighting-gold: #F2C14E;
    --cockfighting-divider: #1E3A2A;
    --cockfighting-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    background-color: var(--cockfighting-background); /* Dark background */
    color: var(--cockfighting-text-main); /* Light text for contrast */
    line-height: 1.6;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--cockfighting-text-main);
    text-align: center;
    margin-bottom: 40px;
    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: var(--cockfighting-gold);
    border-radius: 2px;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: var(--cockfighting-gold);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting__text-block {
    margin-bottom: 15px;
    color: var(--cockfighting-text-main);
}

.page-cockfighting__inline-link {
    color: var(--cockfighting-gold);
    text-decoration: underline;
}

.page-cockfighting__inline-link:hover {
    color: var(--cockfighting-text-main);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for desktop */
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    color: var(--cockfighting-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: var(--cockfighting-text-secondary);
    margin-bottom: 30px;
}

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

.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: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--cockfighting-button-gradient);
    color: var(--cockfighting-text-main);
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--cockfighting-gold);
    border: 2px solid var(--cockfighting-gold);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--cockfighting-gold);
    color: var(--cockfighting-background);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Introduction Section */
.page-cockfighting__introduction-section,
.page-cockfighting__types-section,
.page-cockfighting__how-to-bet-section,
.page-cockfighting__strategies-section,
.page-cockfighting__why-188bet-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final {
    padding: 60px 0;
    background-color: var(--cockfighting-background);
}

/* General Image styles for content areas */
.page-cockfighting__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-cockfighting__image-wrapper {
    margin-bottom: 30px;
}

.page-cockfighting__image-wrapper--bottom {
    margin-top: 40px;
    margin-bottom: 0;
}

/* Types Section */
.page-cockfighting__image-content-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-cockfighting__image-content-flex .page-cockfighting__image-wrapper {
    flex: 1;
    min-width: 400px;
}

.page-cockfighting__image-content-flex .page-cockfighting__text-wrapper {
    flex: 2;
}

.page-cockfighting__list {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--cockfighting-text-main);
}

.page-cockfighting__list li {
    margin-bottom: 8px;
}

/* How to Bet Section */
.page-cockfighting__ordered-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-cockfighting__ordered-list li {
    background-color: var(--cockfighting-card-bg);
    border: 1px solid var(--cockfighting-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-cockfighting__ordered-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__list-title {
    font-size: 1.5em;
    color: var(--cockfighting-gold);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__ordered-list li p {
    color: var(--cockfighting-text-secondary);
}

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

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

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

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

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: var(--cockfighting-gold);
    margin-bottom: 15px;
}

.page-cockfighting__card-text {
    color: var(--cockfighting-text-secondary);
}

/* Why 188BET Section */
.page-cockfighting__features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__features-list li {
    background-color: var(--cockfighting-card-bg);
    border: 1px solid var(--cockfighting-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.page-cockfighting__features-list li:hover {
    transform: translateY(-5px);
}

.page-cockfighting__feature-title {
    font-size: 1.3em;
    color: var(--cockfighting-gold);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__features-list li p {
    color: var(--cockfighting-text-secondary);
}

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

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

.page-cockfighting__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--cockfighting-text-main);
    cursor: pointer;
    list-style: none;
    outline: none;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--cockfighting-gold);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    color: var(--cockfighting-gold);
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    color: var(--cockfighting-text-secondary);
    font-size: 1em;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image {
        max-height: 500px;
    }
    .page-cockfighting__image-content-flex {
        flex-direction: column;
        gap: 30px;
    }
    .page-cockfighting__image-content-flex .page-cockfighting__image-wrapper {
        min-width: unset;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5em;
    }
    .page-cockfighting__ordered-list li,
    .page-cockfighting__strategy-card,
    .page-cockfighting__features-list li {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-image {
        max-height: 400px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .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;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__how-to-bet-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__why-188bet-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final {
        padding: 40px 0;
    }

    /* Image Responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__image-wrapper,
    .page-cockfighting__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }

    /* FAQ */
    .page-cockfighting__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-image {
        max-height: 250px;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-cockfighting__ordered-list li {
        padding: 15px;
    }
    .page-cockfighting__list-title {
        font-size: 1.3em;
    }
    .page-cockfighting__strategy-card,
    .page-cockfighting__features-list li {
        padding: 15px;
    }
}