/* style/cockfighting.css */

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

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

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--page-cockfighting-gold);
    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(--page-cockfighting-gold);
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__highlight {
    color: var(--page-cockfighting-gold);
    font-weight: bold;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

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

.page-cockfighting__btn-text {
    background: transparent;
    color: var(--page-cockfighting-gold);
    border: none;
    text-decoration: underline;
    padding: 5px 10px;
}

.page-cockfighting__btn-text:hover {
    color: var(--page-cockfighting-primary);
}

.page-cockfighting__btn-center {
    display: block;
    margin: 30px auto 0 auto;
    max-width: 300px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 80px;
    overflow: hidden;
    text-align: center;
}

.page-cockfighting__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    margin-bottom: 40px;
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}

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

.page-cockfighting__main-title {
    font-weight: bold;
    color: var(--page-cockfighting-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-size: clamp(2.2em, 4vw, 3.5em);
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-background);
}

.page-cockfighting__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Features Section (Dark Background) */
.page-cockfighting__dark-section {
    background-color: var(--page-cockfighting-deep-green);
    color: var(--page-cockfighting-text-main);
    padding: 60px 0;
}

.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(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--page-cockfighting-text-secondary);
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__step-card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--page-cockfighting-gold);
    color: var(--page-cockfighting-background);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.5);
}

/* Betting Types Section */
.page-cockfighting__betting-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-cockfighting__betting-list .page-cockfighting__list-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__list-description {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1em;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__promo-card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
    flex-grow: 1;
    padding: 0 20px;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-text {
    margin-top: auto;
    padding-bottom: 20px;
}

/* Tips Section */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-cockfighting__tips-list .page-cockfighting__list-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-cockfighting-text-main);
    cursor: pointer;
    background-color: var(--page-cockfighting-card-bg);
    border-bottom: 1px solid var(--page-cockfighting-divider);
    list-style: none; /* For details summary */
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    color: var(--page-cockfighting-gold);
    margin-left: 15px;
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: none;
}

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

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

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 1em;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 60px;
    }
    .page-cockfighting__hero-image-wrapper {
        padding-bottom: 75%; /* More vertical space for mobile hero */
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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__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;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden !important;
    }
    .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,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__promo-card,
    .page-cockfighting__feature-card,
    .page-cockfighting__step-card,
    .page-cockfighting__betting-list .page-cockfighting__list-item,
    .page-cockfighting__tips-list .page-cockfighting__list-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__feature-grid, .page-cockfighting__step-grid, .page-cockfighting__promo-grid, .page-cockfighting__betting-list, .page-cockfighting__tips-list {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-cockfighting__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }
    .page-cockfighting__hero-description {
        font-size: 0.95em;
    }
    .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
        padding: 10px 20px;
        font-size: 1em;
    }
}