/* style/cockfighting.css */
:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --bg-color-light: #F5F7FA;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --border-color: #E0E0E0;
    --gradient-button: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    padding: 20px;
    z-index: 2;
    text-align: center;
}

.page-cockfighting__main-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* General Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: var(--gradient-button);
    color: #fff;
    border: none;
}

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

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

.page-cockfighting__btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

/* Features Section */
.page-cockfighting__features-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #fff;
}

.page-cockfighting__features-section .page-cockfighting__section-title {
    color: #fff;
}

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

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-10px);
}

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

.page-cockfighting__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* How To Play Section */
.page-cockfighting__how-to-play-section {
    padding: 60px 0;
    background-color: var(--bg-color-light);
}

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

.page-cockfighting__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__step-number {
    background: var(--gradient-button);
    color: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 20px;
}

.page-cockfighting__step-content {
    flex: 1;
}

.page-cockfighting__step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

.page-cockfighting__bullet-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-cockfighting__bullet-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--bg-color-light);
}

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

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
    background: #f5f5f5;
}

.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 25px 25px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    color: var(--text-main-color);
}

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

/* CTA Bottom Section */
.page-cockfighting__cta-bottom-section {
    padding: 80px 0;
    background: var(--gradient-button);
    color: #fff;
    text-align: center;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__section-title {
    color: #fff;
    margin-bottom: 20px;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__text-block {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.page-cockfighting__cta-bottom-section .page-cockfighting__btn-primary {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__btn-primary:hover {
    background: #f0f0f0;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__btn-secondary:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
    .page-cockfighting__feature-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    /* General Content Area */
    .page-cockfighting__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting p,
    .page-cockfighting li {
      font-size: 16px !important;
      line-height: 1.6 !important;
    }

    /* Hero Section */
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        height: auto;
    }
    .page-cockfighting__hero-image {
        height: 400px;
    }
    .page-cockfighting__hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 30px 15px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 0;
        max-width: 100%;
        width: 100%;
    }
    .page-cockfighting__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* All Buttons */
    .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: 12px 20px !important;
        font-size: 1em !important;
    }

    /* Button Containers */
    .page-cockfighting__hero-buttons,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__cta-buttons--center {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

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

    /* Intro Section */
    .page-cockfighting__intro-section {
        padding: 40px 0;
    }
    .page-cockfighting__text-block {
        font-size: 1em;
    }

    /* Features Section */
    .page-cockfighting__features-section {
        padding: 40px 0;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-item {
        padding: 20px;
    }
    .page-cockfighting__feature-image {
        max-width: 180px;
    }
    .page-cockfighting__feature-title {
        font-size: 1.2em;
    }

    /* How To Play Section */
    .page-cockfighting__how-to-play-section {
        padding: 40px 0;
    }
    .page-cockfighting__step-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .page-cockfighting__step-number {
        margin: 0 auto 15px auto;
    }

    /* Why Choose Section */
    .page-cockfighting__why-choose-section {
        padding: 40px 0;
    }
    .page-cockfighting__bullet-list li {
        font-size: 1em;
        padding-left: 25px;
        margin-bottom: 10px;
    }

    /* FAQ Section */
    .page-cockfighting__faq-section {
        padding: 40px 0;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 1em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 25px;
        height: 25px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 20px 20px;
    }

    /* CTA Bottom Section */
    .page-cockfighting__cta-bottom-section {
        padding: 50px 0;
    }
    .page-cockfighting__cta-bottom-section .page-cockfighting__text-block {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* All Images */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}