:root {
    --page-bg: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --button-bg: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

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

.page-cockfighting__section-spacing {
    padding: 60px 0;
}

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

.page-cockfighting__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--button-bg);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--button-bg);
    color: var(--text-main);
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--glow-color);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--page-bg);
    box-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-cockfighting__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

/* Card Styling */
.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    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;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
}

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

.page-cockfighting__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__card a {
    color: var(--glow-color);
    text-decoration: none;
}

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

/* Advantages Section */
.page-cockfighting__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting__advantage-item {
    padding: 30px;
}

.page-cockfighting__advantage-title {
    font-size: 1.5em;
    color: var(--text-main);
    margin-bottom: 15px;
}

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

.page-cockfighting__advantage-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px;
}

/* Betting Types Section */
.page-cockfighting__betting-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__betting-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-cockfighting__betting-subtitle {
    font-size: 1.4em;
    color: var(--glow-color);
    margin-bottom: 10px;
    text-align: left;
}

.page-cockfighting__betting-description {
    font-size: 1.1em;
    text-align: left;
}

/* Guide Section */
.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__guide-step {
    padding: 30px;
    text-align: left;
}

.page-cockfighting__guide-step-title {
    font-size: 1.6em;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-cockfighting__guide-step-description {
    font-size: 1em;
    color: var(--text-secondary);
    flex-grow: 1;
}

.page-cockfighting__guide-step-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-cockfighting__hall-item {
    padding: 30px;
    text-align: left;
}

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

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

.page-cockfighting__hall-description {
    font-size: 1.1em;
    color: var(--text-secondary);
}

/* Tips Section */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__tip-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: left;
}

.page-cockfighting__tip-subtitle {
    font-size: 1.4em;
    color: var(--glow-color);
    margin-bottom: 10px;
}

.page-cockfighting__tip-description {
    font-size: 1.1em;
}

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

.page-cockfighting__promotion-card {
    padding: 30px;
    text-align: left;
}

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

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

.page-cockfighting__promotion-description {
    font-size: 1.1em;
    color: var(--text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--border-color);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    margin-left: 15px;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: justify;
}

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

.page-cockfighting__faq-answer a {
    color: var(--glow-color);
    text-decoration: none;
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting__hero-title {
        font-size: clamp(2.2em, 4.5vw, 3em);
    }

    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }

    .page-cockfighting__section-spacing {
        padding: 40px 0;
    }

    .page-cockfighting__section-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-cockfighting__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px !important;
        font-size: 1em !important;
    }

    .page-cockfighting__section-spacing {
        padding: 30px 0;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
        margin-bottom: 25px;
    }

    .page-cockfighting__text-block {
        font-size: 1em;
    }

    .page-cockfighting__card {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !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-section,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__guide-steps,
    .page-cockfighting__halls-grid,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        font-size: 1em;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }

    .page-cockfighting__hero-description {
        font-size: 0.95em;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }

    .page-cockfighting__advantage-title,
    .page-cockfighting__betting-subtitle,
    .page-cockfighting__guide-step-title,
    .page-cockfighting__hall-title,
    .page-cockfighting__tip-subtitle,
    .page-cockfighting__promotion-title {
        font-size: 1.3em;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 0.9em !important;
    }
}