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

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

.page-cockfighting-rules-tips__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px;
    box-sizing: border-box;
    text-align: center;
}

.page-cockfighting-rules-tips__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.page-cockfighting-rules-tips__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-cockfighting-rules-tips__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting-rules-tips__hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.page-cockfighting-rules-tips__btn-primary,
.page-cockfighting-rules-tips__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting-rules-tips__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

.page-cockfighting-rules-tips__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

.page-cockfighting-rules-tips__btn-secondary {
    background-color: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
}

.page-cockfighting-rules-tips__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

.page-cockfighting-rules-tips__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    padding-top: 10px;
    box-sizing: border-box;
    background-color: var(--deep-green);
}

.page-cockfighting-rules-tips__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting-rules-tips__video-link-wrapper {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.page-cockfighting-rules-tips__video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting-rules-tips__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.page-cockfighting-rules-tips__video-caption {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-cockfighting-rules-tips__content-area {
    background-color: var(--background-color);
    color: var(--text-main);
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-cockfighting-rules-tips__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-cockfighting-rules-tips__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold-color);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-cockfighting-rules-tips__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--glow-color);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

.page-cockfighting-rules-tips__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-cockfighting-rules-tips__content-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting-rules-tips__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-cockfighting-rules-tips__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-cockfighting-rules-tips__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    top: 0;
}

.page-cockfighting-rules-tips__btn-block {
    display: block;
    margin: 30px auto;
    text-align: center;
    max-width: 400px;
}

.page-cockfighting-rules-tips__faq-list {
    margin-top: 40px;
}

.page-cockfighting-rules-tips__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-cockfighting-rules-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--deep-green);
    color: var(--text-main);
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-cockfighting-rules-tips__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting-rules-tips__faq-question:hover {
    background-color: var(--primary-color);
}

.page-cockfighting-rules-tips__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting-rules-tips__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-cockfighting-rules-tips__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.page-cockfighting-rules-tips__faq-item[open] .page-cockfighting-rules-tips__faq-answer {
    max-height: 2000px;
    transition: max-height 0.4s ease-in;
}

.page-cockfighting-rules-tips__faq-item.active .page-cockfighting-rules-tips__faq-answer {
    max-height: 2000px !important;
}

.page-cockfighting-rules-tips__cta-buttons--bottom {
    margin-top: 50px;
}

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

    .page-cockfighting-rules-tips__hero-section,
    .page-cockfighting-rules-tips__video-section,
    .page-cockfighting-rules-tips__content-area,
    .page-cockfighting-rules-tips__container,
    .page-cockfighting-rules-tips__faq-list,
    .page-cockfighting-rules-tips__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-cockfighting-rules-tips__hero-image,
    .page-cockfighting-rules-tips__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-cockfighting-rules-tips video,
    .page-cockfighting-rules-tips__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting-rules-tips__video-container,
    .page-cockfighting-rules-tips__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .page-cockfighting-rules-tips__video-section {
        padding-top: 10px !important;
    }

    .page-cockfighting-rules-tips__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .page-cockfighting-rules-tips__btn-primary,
    .page-cockfighting-rules-tips__btn-secondary,
    .page-cockfighting-rules-tips a[class*="button"],
    .page-cockfighting-rules-tips 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 !important;
        padding-right: 15px !important;
    }

    .page-cockfighting-rules-tips__main-title {
        font-size: 2rem;
    }

    .page-cockfighting-rules-tips__section-title {
        font-size: 1.8rem;
    }

    .page-cockfighting-rules-tips__sub-title {
        font-size: 1.3rem;
    }

    .page-cockfighting-rules-tips__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
}