:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
    --header-offset: 122px; /* Default from shared, body padding-top will use this */
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: var(--deep-navy); /* Ensure consistency if body bg is not set */
}

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

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--gold-color); /* Gold color for main titles */
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.5); /* Glow effect */
}

.page-cockfighting__article-body {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: left;
    color: var(--text-secondary); /* Lighter text for main content */
}

.page-cockfighting__article-body p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
}

.page-cockfighting__article-body strong {
    color: var(--text-main);
}

.page-cockfighting__article-figure {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    color: var(--text-main);
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    margin-top: 100px; /* Push content down to avoid hero image text overlay */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--gold-color);
    text-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* CTA Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width for flex-wrap */
    max-width: 600px; /* Limit button group width */
    margin-left: auto;
    margin-right: auto;
}

.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: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't exceed container */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-cockfighting__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-cockfighting__btn-secondary {
    background: var(--card-bg); /* Use card background for secondary */
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(var(--gold-color), 0.1); /* Slight change on hover */
}

/* Introduction Section */
.page-cockfighting__introduction .page-cockfighting__article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us {
    background: var(--primary-color); /* Dark section background */
    color: var(--text-main);
}

.page-cockfighting__why-choose-us .page-cockfighting__section-title {
    color: var(--gold-color);
}

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

.page-cockfighting__card {
    background: var(--card-bg); /* Card BG color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    text-align: left;
    color: var(--text-secondary);
    border: 1px solid var(--border-color); /* Border color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__card-title {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

/* Game Types Section */
.page-cockfighting__game-types {
    background: var(--deep-navy);
}

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

.page-cockfighting__type-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__type-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-cockfighting__type-title {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

/* How To Play Section */
.page-cockfighting__how-to-play {
    background: var(--primary-color); /* Dark section background */
    color: var(--text-main);
}

.page-cockfighting__how-to-play .page-cockfighting__section-title {
    color: var(--gold-color);
}

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

.page-cockfighting__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
    text-align: left;
    color: var(--text-secondary);
}

.page-cockfighting__step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gold-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-content {
    flex-grow: 1;
}

.page-cockfighting__step-title {
    font-size: 22px;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Strategies Section */
.page-cockfighting__strategies {
    background: var(--deep-navy);
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__strategy-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.page-cockfighting__strategy-title {
    font-size: 22px;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Promotions Section */
.page-cockfighting__promotions {
    background: var(--primary-color); /* Dark section background */
    color: var(--text-main);
}

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

.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: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    text-align: left;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__promo-title {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
    margin-top: 20px;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 16px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background: var(--deep-navy);
}

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

details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg); /* Dark card background for FAQ items */
    color: var(--text-secondary);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main); /* Question text color */
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
    background: rgba(var(--primary-color), 0.2); /* Slightly lighter hover */
}
.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}
.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    background: rgba(var(--primary-color), 0.1); /* Lighter background for answer */
    border-radius: 0 0 10px 10px;
    color: var(--text-secondary);
    text-align: left;
}

/* Conclusion Section */
.page-cockfighting__conclusion {
    background: var(--primary-color); /* Dark section background */
    color: var(--text-main);
    padding-bottom: 80px;
}

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

/* Global Image Styles */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default object-fit for content images */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-cockfighting__container {
        padding: 20px 30px;
    }

    .page-cockfighting__section-title {
        font-size: 32px;
    }

    .page-cockfighting__hero-content {
        max-width: 700px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
}