/* style/cockfighting.css */
:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --bg-color: #F5F7FA;
    --border-color: #E0E0E0;
}

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

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

.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-cockfighting h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting h2 {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 600;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-cockfighting h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 600;
    color: var(--primary-color);
}

.page-cockfighting p {
    margin-bottom: 15px;
    font-size: 16px;
}

.page-cockfighting__dark-bg {
    background: var(--primary-color);
    color: #ffffff;
}

.page-cockfighting__dark-bg h1,
.page-cockfighting__dark-bg h2,
.page-cockfighting__dark-bg h3 {
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background: var(--bg-color);
    color: var(--text-main-color);
}

.page-cockfighting__medium-bg {
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--card-bg-color) 100%);
    color: var(--text-main-color);
}

.page-cockfighting__card {
    background: var(--card-bg-color);
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    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.1);
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.6);
}

.page-cockfighting__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.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 handles header offset */
    overflow: hidden;
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width on desktop */
}

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

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__intro-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__security-support-section,
.page-cockfighting__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__intro-section .page-cockfighting__container,
.page-cockfighting__why-choose-section .page-cockfighting__container,
.page-cockfighting__bet-types-section .page-cockfighting__container,
.page-cockfighting__guide-section .page-cockfighting__container,
.page-cockfighting__promotions-section .page-cockfighting__container,
.page-cockfighting__tips-section .page-cockfighting__container,
.page-cockfighting__security-support-section .page-cockfighting__container,
.page-cockfighting__conclusion-section .page-cockfighting__container {
    padding-top: 0;
    padding-bottom: 0;
}

.page-cockfighting__features-grid,
.page-cockfighting__bet-type-cards,
.page-cockfighting__promo-cards,
.page-cockfighting__tips-list,
.page-cockfighting__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.page-cockfighting__guide-steps .page-cockfighting__card h3 {
    color: #333333;
    font-size: 20px;
    margin-bottom: 15px;
}

.page-cockfighting__guide-steps .page-cockfighting__card p {
    font-size: 15px;
}

.page-cockfighting__guide-steps .page-cockfighting__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-cockfighting__image-wrapper {
    margin: 40px auto;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

.page-cockfighting__faq-section .page-cockfighting__container {
    max-width: 900px;
}

.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.05);
}

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;
    color: var(--text-main-color);
}

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: #f8f8f8;
}

.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 18px;
    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: 20px;
    width: 30px;
    text-align: center;
}

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

.page-cockfighting__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__container {
        padding: 20px 30px;
    }
    .page-cockfighting h1 {
        font-size: clamp(26px, 4.5vw, 42px);
    }
    .page-cockfighting h2 {
        font-size: clamp(22px, 4vw, 34px);
    }
    .page-cockfighting h3 {
        font-size: clamp(18px, 3vw, 24px);
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__bet-type-cards,
    .page-cockfighting__promo-cards,
    .page-cockfighting__tips-list,
    .page-cockfighting__guide-steps,
    .page-cockfighting__security-features {
        gap: 20px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-cockfighting__btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting h1 {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 15px;
    }
    .page-cockfighting h2 {
        font-size: clamp(20px, 5vw, 30px);
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-cockfighting h3 {
        font-size: clamp(18px, 4.5vw, 22px);
        margin-bottom: 10px;
    }
    .page-cockfighting p {
        font-size: 15px;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-image img {
        border-radius: 8px;
    }
    .page-cockfighting__hero-content p {
        font-size: 15px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__bet-type-cards,
    .page-cockfighting__promo-cards,
    .page-cockfighting__tips-list,
    .page-cockfighting__guide-steps,
    .page-cockfighting__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page-cockfighting__card {
        padding: 20px;
    }

    .page-cockfighting__image-wrapper {
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 16px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }

    .page-cockfighting__intro-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__security-support-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }
}