.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f9f9f9; /* Light background for the page */
}

.page-cockfighting__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Ensure no overflow issues */
}

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

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #1A1A1A; /* Dark title for light backgrounds */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-cockfighting__description {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.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: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #1A1A1A, #333333); /* Dark gradient background */
    color: #ffffff; /* White text for dark background */
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-cockfighting__main-title {
    font-size: 48px;
    font-weight: 900;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content .page-cockfighting__description {
    color: #f0f0f0;
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__cta-button--primary {
    background: #FFD700; /* Gold primary button */
    color: #1A1A1A; /* Dark text for gold background */
    border: 2px solid #FFD700;
}

.page-cockfighting__cta-button--primary:hover {
    background: #e0b800;
    border-color: #e0b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button--secondary {
    background: #1A1A1A; /* Dark secondary button */
    color: #FFD700; /* Gold text for dark background */
    border: 2px solid #FFD700;
}

.page-cockfighting__cta-button--secondary:hover {
    background: #000000;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Intro */
.page-cockfighting__section--intro {
    background-color: #ffffff;
}

.page-cockfighting__content-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-cockfighting__text-block {
    flex: 1;
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
    color: #444444;
}

.page-cockfighting__sub-title {
    font-size: 24px;
    color: #1A1A1A;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section Bet Types */
.page-cockfighting__section--bet-types {
    background-color: #f0f0f0;
}

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

.page-cockfighting__card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card-title {
    font-size: 22px;
    font-weight: bold;
    color: #FFD700; /* Gold card title */
    margin-bottom: 15px;
}

.page-cockfighting__card p {
    font-size: 16px;
    color: #555555;
}

.page-cockfighting__image-block--center {
    text-align: center;
}

/* Section Guide (Dark Section) */
.page-cockfighting__dark-section {
    background-color: #1A1A1A; /* Dark background */
    color: #f0f0f0; /* Light text for dark background */
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
    color: #FFD700; /* Gold title on dark background */
}

.page-cockfighting__dark-section .page-cockfighting__description {
    color: #cccccc;
}

.page-cockfighting__dark-section .page-cockfighting__list-title {
    color: #FFD700; /* Gold list title */
}

.page-cockfighting__dark-section .page-cockfighting__ordered-list li p {
    color: #cccccc;
}

.page-cockfighting__dark-section .page-cockfighting__ordered-list li a {
    color: #FFD700;
    text-decoration: underline;
}

.page-cockfighting__dark-section .page-cockfighting__ordered-list li a:hover {
    color: #e0b800;
}

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

.page-cockfighting__ordered-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.page-cockfighting__ordered-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #FFD700;
    color: #1A1A1A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1A1A1A;
}

.page-cockfighting__ordered-list li p {
    font-size: 16px;
    color: #444444;
}

.page-cockfighting__image-block--right {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

/* Section Technology */
.page-cockfighting__section--tech {
    background-color: #ffffff;
}

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

.page-cockfighting__feature-item {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-left: 5px solid #FFD700;
    transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
}

.page-cockfighting__feature-title {
    font-size: 20px;
    font-weight: bold;
    color: #1A1A1A;
    margin-bottom: 10px;
}

/* Section Promotions (Dark Section) */
.page-cockfighting__section--promotions {
    background-color: #1A1A1A;
    color: #f0f0f0;
}

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

.page-cockfighting__promo-card {
    background: #333333; /* Darker background for cards on dark section */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #FFD700; /* Gold border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    color: #FFD700;
}

.page-cockfighting__promo-card p {
    color: #cccccc;
}

.page-cockfighting__cta-buttons--centered {
    margin-top: 40px;
}

/* FAQ Section */
.page-cockfighting__section--faq {
    background-color: #fdfdfd;
}

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

/* FAQ container style */
.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ default state - answer hidden */
.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #fefefe;
    color: #444444;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important; /* 🚨 Use!important, value large enough */
    padding: 20px !important; /* 🚨 Use!important */
    opacity: 1;
    border-top: 1px solid #eeeeee;
}