/* style/cockfighting.css */

/* Variables for colors from the theme */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for dark background */
    background-color: var(--color-background); /* Body background handled by shared.css var(--background) */
}

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

.page-cockfighting__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

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

.page-cockfighting__text-block a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__text-block a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding for hero content */
    background-color: var(--color-background);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Ensure image doesn't stretch too much */
}

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

.page-cockfighting__main-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__description {
    font-size: 19px;
    line-height: 1.6;
    color: var(--color-text-main);
    margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--color-secondary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

/* Intro Section */
.page-cockfighting__intro-section {
    background-color: #08160F; /* Dark background for text */
    padding: 60px 0;
    color: var(--color-text-secondary);
}

.page-cockfighting__intro-section .page-cockfighting__section-title {
    color: var(--color-text-main);
}

/* Features Section */
.page-cockfighting__features-section {
    background-color: var(--color-card-bg);
    padding: 80px 0;
    color: var(--color-text-secondary);
}

.page-cockfighting__features-section .page-cockfighting__section-title {
    color: var(--color-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-card {
    background-color: var(--color-background);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(34, 199, 104, 0.3);
}

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

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

.page-cockfighting__feature-card .page-cockfighting__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Guide Section */
.page-cockfighting__guide-section {
    background-color: #08160F;
    padding: 80px 0;
    color: var(--color-text-secondary);
}

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

.page-cockfighting__ordered-list {
    list-style: none;
    counter-reset: guide-step;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

.page-cockfighting__ordered-list .page-cockfighting__list-item::before {
    counter-increment: guide-step;
    content: counter(guide-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__ordered-list .page-cockfighting__list-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.page-cockfighting__ordered-list .page-cockfighting__list-text {
    font-size: 16px;
    line-height: 1.6;
}

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

/* Types Section */
.page-cockfighting__types-section {
    background-color: var(--color-background);
    padding: 80px 0;
    color: var(--color-text-secondary);
}

.page-cockfighting__types-section .page-cockfighting__section-title {
    color: var(--color-text-main);
}

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

.page-cockfighting__type-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    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;
    border: 1px solid var(--color-border);
}

.page-cockfighting__type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(34, 199, 104, 0.3);
}

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

.page-cockfighting__type-card .page-cockfighting__card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-cockfighting__type-card .page-cockfighting__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Betting Guide Section */
.page-cockfighting__betting-guide {
    background-color: #08160F;
    padding: 80px 0;
    color: var(--color-text-secondary);
}

.page-cockfighting__betting-guide .page-cockfighting__section-title {
    color: var(--color-text-main);
}

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

.page-cockfighting__unordered-list .page-cockfighting__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.page-cockfighting__unordered-list .page-cockfighting__list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 25px;
    line-height: 1;
    top: 0;
}

.page-cockfighting__unordered-list .page-cockfighting__list-item strong {
    color: var(--color-text-main);
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    background-color: var(--color-card-bg);
    padding: 80px 0;
    color: var(--color-text-secondary);
}

.page-cockfighting__advantages-section .page-cockfighting__section-title {
    color: var(--color-text-main);
}

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

.page-cockfighting__advantage-item {
    background-color: var(--color-background);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.page-cockfighting__advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(34, 199, 104, 0.3);
}

.page-cockfighting__advantage-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-cockfighting__advantage-item .page-cockfighting__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #08160F;
    padding: 80px 0;
    color: var(--color-text-secondary);
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: var(--color-text-main);
}

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

.page-cockfighting__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-item[open] {
    background-color: var(--color-deep-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 19px;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(34, 199, 104, 0.1);
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    line-height: 1;
    color: var(--color-secondary);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
}

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

.page-cockfighting__faq-answer a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-cockfighting__cta-section {
    background-color: var(--color-deep-green);
    padding: 60px 0;
    text-align: center;
    color: var(--color-text-main);
}

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

.page-cockfighting__cta-section .page-cockfighting__text-block {
    font-size: 20px;
    color: var(--color-text-main);
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image-wrapper {
        max-height: 500px;
    }
    .page-cockfighting__hero-image {
        max-height: 500px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(32px, 4.5vw, 50px);
    }
    .page-cockfighting__description {
        font-size: 18px;
    }
    .page-cockfighting__feature-icon {
        max-width: 200px;
    }
    .page-cockfighting__advantage-icon {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* body has padding-top for header, this is for hero content */
    }
    .page-cockfighting__hero-image-wrapper {
        max-height: 350px;
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-image {
        max-height: 350px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(28px, 6vw, 40px);
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
        box-sizing: border-box !important;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 16px;
        padding: 12px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-cockfighting__feature-grid,
    .page-cockfighting__type-grid,
    .page-cockfighting__advantage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__advantage-item {
        padding: 20px;
    }

    .page-cockfighting__feature-icon,
    .page-cockfighting__type-image,
    .page-cockfighting__advantage-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto 20px auto;
    }

    .page-cockfighting__ordered-list .page-cockfighting__list-item {
        padding-left: 50px;
        margin-bottom: 20px;
    }
    .page-cockfighting__ordered-list .page-cockfighting__list-item::before {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .page-cockfighting__ordered-list .page-cockfighting__list-title {
        font-size: 18px;
    }
    .page-cockfighting__unordered-list .page-cockfighting__list-item {
        font-size: 15px;
    }

    .page-cockfighting__faq-question {
        font-size: 17px;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 15px;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-cockfighting__intro-section, .page-cockfighting__features-section, .page-cockfighting__guide-section, .page-cockfighting__types-section, .page-cockfighting__betting-guide, .page-cockfighting__advantages-section, .page-cockfighting__faq-section, .page-cockfighting__cta-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-image-wrapper {
        max-height: 250px;
    }
    .page-cockfighting__hero-image {
        max-height: 250px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(24px, 7vw, 32px);
    }
    .page-cockfighting__description {
        font-size: 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(20px, 7vw, 30px);
    }
    .page-cockfighting__feature-card .page-cockfighting__card-title,
    .page-cockfighting__type-card .page-cockfighting__card-title,
    .page-cockfighting__advantage-item .page-cockfighting__card-title {
        font-size: 20px;
    }
    .page-cockfighting__faq-question {
        font-size: 16px;
    }
}