/* style/cockfighting.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Default text color for dark body background */
    background-color: var(--background-color);
}

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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for non-homepage hero */
    padding-bottom: 40px;
    text-align: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6);
}

.page-cockfighting__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--text-main-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(255, 211, 107, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.page-cockfighting__sub-title {
    font-size: clamp(1.4em, 2.2vw, 1.8em);
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-main-color);
}

.page-cockfighting__introduction-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    background-color: var(--card-bg);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__image-content-block {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.page-cockfighting__content-image {
    width: 50%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__text-content {
    width: 50%;
}

.page-cockfighting__types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__features-section,
.page-cockfighting__conclusion-section {
    padding: 60px 0;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

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

.page-cockfighting__card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    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__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-cockfighting__card-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-main-color);
}

.page-cockfighting__numbered-list {
    list-style: none;
    counter-reset: item;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__list-item {
    counter-increment: item;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.page-cockfighting__list-item::before {
    content: counter(item);
    background: var(--primary-color);
    color: var(--background-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__list-item p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-main-color);
    margin-top: 0;
}

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

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

.page-cockfighting__strategy-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__strategy-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

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

.page-cockfighting__promotion-item {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__promotion-item p {
    font-size: 1em;
    line-height: 1.7;
    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: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-cockfighting__feature-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-main-color);
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    color: var(--primary-color);
    cursor: pointer;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    list-style: none;
    position: relative;
}

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

.page-cockfighting__faq-question:hover {
    background: rgba(255, 211, 107, 0.1);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-main-color);
    background: var(--background-color);
}

.page-cockfighting__conclusion-section {
    padding-bottom: 80px;
}

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image-wrapper {
        height: 500px;
    }

    .page-cockfighting__hero-content {
        max-width: 90%;
        padding: 15px;
    }

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

    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
    }

    .page-cockfighting__image-content-block {
        flex-direction: column;
    }

    .page-cockfighting__content-image,
    .page-cockfighting__text-content {
        width: 100%;
    }
}

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

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-cockfighting__hero-image-wrapper {
        height: 400px;
    }

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

    .page-cockfighting__main-title {
        font-size: 2.2em !important;
        margin-bottom: 10px;
    }

    .page-cockfighting__hero-description {
        font-size: 1em !important;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 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__section-title {
        font-size: 1.8em !important;
        margin-bottom: 20px;
    }

    .page-cockfighting__sub-title {
        font-size: 1.2em !important;
    }

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

    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__features-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-cockfighting__card,
    .page-cockfighting__strategy-item,
    .page-cockfighting__feature-card,
    .page-cockfighting__promotion-item {
        padding: 20px;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__strategy-image,
    .page-cockfighting__feature-image,
    .page-cockfighting__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__list-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .page-cockfighting__list-item::before {
        margin-bottom: 10px;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1em !important;
        padding: 15px 20px;
    }

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