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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-cockfighting__main-title {
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-cockfighting__subtitle {
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    font-size: 1.1em;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--background-color);
}

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

.page-cockfighting__section-title {
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-cockfighting__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: var(--text-main-color);
}

.page-cockfighting__introduction-section {
    background-color: var(--background-color);
}

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

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

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

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

.page-cockfighting__feature-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

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

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

.page-cockfighting__game-types-section {
    background-color: var(--background-color);
}

.page-cockfighting__type-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__type-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__type-description {
    color: var(--text-secondary-color);
}

.page-cockfighting__section-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    display: block;
}

.page-cockfighting__guide-section {
    background-color: var(--deep-green-color);
}

.page-cockfighting__guide-steps {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-cockfighting__step-title {
    color: var(--gold-color);
    font-size: 1.3em;
}

.page-cockfighting__step-description {
    color: var(--text-secondary-color);
}

.page-cockfighting__step-description a {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__step-description a:hover {
    text-decoration: underline;
}

.page-cockfighting__promotions-section {
    background-color: var(--background-color);
}

.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: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__promo-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-cockfighting__strategy-section {
    background-color: var(--deep-green-color);
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__strategy-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__strategy-description {
    color: var(--text-secondary-color);
}

.page-cockfighting__faq-section {
    background-color: var(--background-color);
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.15em;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 15px 20px;
    color: var(--text-secondary-color);
    border-top: 1px solid var(--divider-color);
    background-color: var(--card-bg);
}

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

.page-cockfighting__conclusion-section {
    background-color: var(--deep-green-color);
    text-align: center;
}

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

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

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        padding: 40px 15px 30px;
    }

    .page-cockfighting__hero-content {
        padding: 15px;
    }

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

    .page-cockfighting__subtitle {
        font-size: 1em;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

    .page-cockfighting__text-block {
        font-size: 1em;
    }

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

    .page-cockfighting__feature-card,
    .page-cockfighting__promo-card,
    .page-cockfighting__type-item,
    .page-cockfighting__step-item,
    .page-cockfighting__strategy-item,
    .page-cockfighting__faq-item {
        padding: 15px;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-cockfighting__feature-image,
    .page-cockfighting__section-image,
    .page-cockfighting__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-cockfighting__faq-answer {
        padding: 10px 15px;
    }
}

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

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

    .page-cockfighting__hero-content {
        width: 100%;
    }
}