/* style/cockfighting.css */

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

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

.page-cockfighting__section {
    padding: 60px 20px;
    text-align: center;
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.page-cockfighting__section-title--light {
    color: #ffffff;
}

.page-cockfighting__text-block {
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-main-color);
}

.page-cockfighting__text-block--light {
    color: #f0f0f0;
}

.page-cockfighting__text-link {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button--dark {
    background: var(--button-gradient);
    color: #ffffff;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body padding-top from shared.css handles header offset */
    background-color: var(--card-bg-color);
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-cockfighting__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-cockfighting__hero-description {
    font-size: 18px;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    background-color: var(--card-bg-color);
}

.page-cockfighting__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-cockfighting__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
    background-color: var(--page-bg-color);
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-cockfighting__list-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.page-cockfighting__list-item:hover {
    transform: translateY(-3px);
}

.page-cockfighting__list-item strong {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}

/* Guide Section */
.page-cockfighting__guide-section {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-cockfighting__numbered-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    position: relative;
    padding-left: 60px;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item:before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    left: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    background-color: var(--secondary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item strong {
    color: var(--secondary-color);
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    background-color: var(--card-bg-color);
}

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

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

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__feature-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__feature-description {
    font-size: 15px;
    color: var(--text-main-color);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    background-color: var(--page-bg-color);
}

.page-cockfighting__promo-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-cockfighting__promo-list .page-cockfighting__list-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__promo-list .page-cockfighting__list-item strong {
    color: var(--secondary-color);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: var(--card-bg-color);
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    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: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

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

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

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(26px, 5vw, 42px);
    }
    .page-cockfighting__hero-description {
        font-size: 17px;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 15px;
    }
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    .page-cockfighting__hero-description {
        font-size: 16px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto; /* Center button */
        margin-right: auto; /* Center button */
        display: block; /* Ensure it takes full width and centers */
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-image img {
        border-radius: 4px;
    }
    .page-cockfighting__image-wrapper {
        margin: 30px 0;
    }
    .page-cockfighting__image-wrapper img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__list-item, 
    .page-cockfighting__numbered-list .page-cockfighting__list-item,
    .page-cockfighting__promo-list .page-cockfighting__list-item,
    .page-cockfighting__feature-card {
        padding: 18px;
        margin-bottom: 10px;
    }
    .page-cockfighting__list-item strong,
    .page-cockfighting__numbered-list .page-cockfighting__list-item strong {
        font-size: 17px;
    }
    .page-cockfighting__numbered-list .page-cockfighting__list-item {
        padding-left: 50px;
    }
    .page-cockfighting__numbered-list .page-cockfighting__list-item:before {
        left: 15px;
        top: 18px;
        width: 26px;
        height: 26px;
        font-size: 16px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 15px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 20px;
        width: 24px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
    /* Ensure all content containers are responsive */
    .page-cockfighting__container,
    .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;
    }
    .page-cockfighting__features-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 24px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(22px, 7vw, 30px);
    }
    .page-cockfighting__hero-description {
        font-size: 15px;
    }
    .page-cockfighting__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
    .page-cockfighting__feature-title {
        font-size: 20px;
    }
    .page-cockfighting__list-item strong,
    .page-cockfighting__numbered-list .page-cockfighting__list-item strong {
        font-size: 16px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 14px;
    }
}