/* style/cockfighting.css */
:root {
    --primary-color: #C61F1F;
    --secondary-color: #E53030;
    --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    --card-bg: #2A1212;
    --page-bg: #140C0C;
    --text-main: #FFF1E8;
    --border-color: #6A1E1E;
    --gold-color: #F3C54D;
    --deep-red: #7E0D0D;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--page-bg); /* Page background from custom colors */
}

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

.page-cockfighting__text-center {
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: 36px;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__main-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__paragraph {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-main);
}

.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: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.page-cockfighting__hero-description {
    font-size: 19px;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__advantages-section,
.page-cockfighting__cta-final-section {
    padding: 60px 0;
    background-color: var(--deep-red);
    color: var(--text-main);
}

.page-cockfighting__introduction-section .page-cockfighting__section-title,
.page-cockfighting__advantages-section .page-cockfighting__section-title,
.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: var(--gold-color);
}

.page-cockfighting__bet-types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

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

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

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

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

.page-cockfighting__card-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

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

.page-cockfighting__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.page-cockfighting__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--page-bg);
    transform: translateY(-1px);
}

.page-cockfighting__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-cockfighting__guide-section {
    padding: 60px 0;
    background-color: var(--deep-red);
    color: var(--text-main);
}

.page-cockfighting__guide-section .page-cockfighting__section-title {
    color: var(--gold-color);
}

.page-cockfighting__numbered-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-cockfighting__numbered-list li {
    counter-increment: step-counter;
    margin-bottom: 30px;
    position: relative;
    padding-left: 60px;
}

.page-cockfighting__numbered-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--gold-color);
    color: var(--page-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
}

.page-cockfighting__list-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

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

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

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

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

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

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

.page-cockfighting__advantage-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__advantage-item {
    background-color: rgba(42, 18, 18, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__advantage-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

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

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

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

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-color: rgba(var(--border-color), 0.2);
}

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

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

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

.page-cockfighting__cta-final-section {
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting__cta-final-section .page-cockfighting__paragraph {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-cockfighting__content-area {
        padding: 30px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(24px, 5vw, 40px);
    }
    .page-cockfighting__hero-description {
        font-size: 17px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__feature-title,
    .page-cockfighting__advantage-title {
        font-size: 20px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 16px;
        padding: 10px 25px;
    }
    .page-cockfighting__list-title {
        font-size: 20px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 16px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-image img,
    .page-cockfighting__card-image,
    .page-cockfighting__feature-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__hero-container,
    .page-cockfighting__introduction-section .page-cockfighting__content-area,
    .page-cockfighting__bet-types-section .page-cockfighting__content-area,
    .page-cockfighting__guide-section .page-cockfighting__content-area,
    .page-cockfighting__strategy-section .page-cockfighting__content-area,
    .page-cockfighting__advantages-section .page-cockfighting__content-area,
    .page-cockfighting__faq-section .page-cockfighting__content-area,
    .page-cockfighting__cta-final-section .page-cockfighting__content-area,
    .page-cockfighting__button-group,
    .page-cockfighting__grid-container,
    .page-cockfighting__feature-grid,
    .page-cockfighting__advantage-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__cta-button,
    .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__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__numbered-list li {
        padding-left: 50px;
    }
    .page-cockfighting__numbered-list li::before {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .page-cockfighting__list-title {
        font-size: 18px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 15px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
    .page-cockfighting__cta-final-section {
        padding: 60px 15px;
    }
    .page-cockfighting__cta-final-section .page-cockfighting__paragraph {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 26px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(22px, 6vw, 36px);
    }
    .page-cockfighting__hero-description {
        font-size: 16px;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__feature-title,
    .page-cockfighting__advantage-title {
        font-size: 18px;
    }
    .page-cockfighting__list-title {
        font-size: 16px;
    }
    .page-cockfighting__paragraph {
        font-size: 16px;
    }
}