:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --background-dark: #0D0E12;
    --card-bg: #17191F;
    --text-light: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --button-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
}

.page-cockfighting-betting-tips {
    font-family: Arial, sans-serif;
    color: var(--text-light); /* Default text color for the page content */
    background-color: var(--background-dark); /* Page background from shared.css */
    line-height: 1.6;
}

/* General spacing and container */
.page-cockfighting-betting-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting-betting-tips__section {
    padding: 60px 0;
    position: relative;
}

.page-cockfighting-betting-tips__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting-betting-tips__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.page-cockfighting-betting-tips__section-description {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-cockfighting-betting-tips__hero-section {
    position: relative;
    padding-top: 10px; /* Small top margin, body padding handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-cockfighting-betting-tips__hero-image {
    width: 100%;
    max-height: 70vh; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-cockfighting-betting-tips__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.page-cockfighting-betting-tips__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1;
}

.page-cockfighting-betting-tips__main-title {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255,165,58,0.5);
}

.page-cockfighting-betting-tips__lead-text {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-betting-tips__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-cockfighting-betting-tips__btn-primary,
.page-cockfighting-betting-tips__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;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

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

.page-cockfighting-betting-tips__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,165,58,0.4);
}

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

.page-cockfighting-betting-tips__btn-secondary:hover {
    background: rgba(255,165,58,0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,165,58,0.2);
}

/* Content Grid Layout */
.page-cockfighting-betting-tips__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting-betting-tips__content-grid--reversed {
    flex-direction: row-reverse;
}

.page-cockfighting-betting-tips__text-block {
    flex: 1;
    min-width: 0;
}

.page-cockfighting-betting-tips__image-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-cockfighting-betting-tips__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Lists */
.page-cockfighting-betting-tips__list,
.page-cockfighting-betting-tips__ordered-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-cockfighting-betting-tips__list li,
.page-cockfighting-betting-tips__ordered-list li {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-cockfighting-betting-tips__list li::before {
    content: '✓'; /* Custom bullet point */
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}
.page-cockfighting-betting-tips__ordered-list li::before {
    content: counter(list-item) ".";
    counter-increment: list-item;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    margin-right: 5px;
}


/* Cards */
.page-cockfighting-betting-tips__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting-betting-tips__card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-betting-tips__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,165,58,0.2);
}

.page-cockfighting-betting-tips__card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-cockfighting-betting-tips__card p {
    font-size: 16px;
    color: var(--text-light);
}

/* Sub-titles */
.page-cockfighting-betting-tips__sub-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Dark Background Section */
.page-cockfighting-betting-tips__dark-bg {
    background-color: var(--card-bg); /* Use card-bg for dark sections */
}
.page-cockfighting-betting-tips__dark-bg .page-cockfighting-betting-tips__section-title::after {
    background: var(--secondary-color);
}
.page-cockfighting-betting-tips__dark-bg .page-cockfighting-betting-tips__card {
    background: rgba(255, 255, 255, 0.05); /* Slightly transparent card on dark bg */
    border-color: rgba(255, 255, 255, 0.1);
}

/* FAQ Section */
.page-cockfighting-betting-tips__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

details.page-cockfighting-betting-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
details.page-cockfighting-betting-tips__faq-item summary.page-cockfighting-betting-tips__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-light);
}
details.page-cockfighting-betting-tips__faq-item summary.page-cockfighting-betting-tips__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting-betting-tips__faq-item summary.page-cockfighting-betting-tips__faq-question:hover {
  background: rgba(255,165,58,0.05);
}
.page-cockfighting-betting-tips__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-light);
}
.page-cockfighting-betting-tips__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting-betting-tips__faq-item .page-cockfighting-betting-tips__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0,0,0,0.1); /* Slightly lighter dark background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-light);
}
.page-cockfighting-betting-tips__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
}


/* Final CTA Section */
.page-cockfighting-betting-tips__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-cockfighting-betting-tips__cta-content {
    max-width: 900px;
}

/* General image styling for content area */
.page-cockfighting-betting-tips img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-cockfighting-betting-tips__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting-betting-tips__main-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .page-cockfighting-betting-tips__lead-text {
        font-size: 18px;
    }

    .page-cockfighting-betting-tips__section {
        padding: 50px 0;
    }

    .page-cockfighting-betting-tips__section-title {
        font-size: 32px;
    }

    .page-cockfighting-betting-tips__section-description {
        font-size: 16px;
    }

    .page-cockfighting-betting-tips__content-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-cockfighting-betting-tips__content-grid--reversed {
        flex-direction: column; /* Keep column direction for reversed on tablet too */
    }

    .page-cockfighting-betting-tips__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-cockfighting-betting-tips__card-title {
        font-size: 22px;
    }

    .page-cockfighting-betting-tips__sub-title {
        font-size: 20px;
    }

    .page-cockfighting-betting-tips__list li,
    .page-cockfighting-betting-tips__ordered-list li {
        font-size: 16px;
        padding: 12px 15px;
    }
}


/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* General mobile padding */
    .page-cockfighting-betting-tips__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting-betting-tips__section {
        padding: 30px 0;
    }

    /* HERO 主图区域 */
    .page-cockfighting-betting-tips__hero-section {
        padding-top: 10px; /* Small top margin, body padding handles header offset */
        padding-bottom: 30px;
    }
    .page-cockfighting-betting-tips__hero-image img {
        object-fit: contain !important; /* Force contain for mobile hero */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting-betting-tips__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Smaller clamp for mobile H1 */
        margin-bottom: 15px;
    }

    .page-cockfighting-betting-tips__lead-text {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-cockfighting-betting-tips__section-title {
        font-size: 28px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .page-cockfighting-betting-tips__section-title::after {
        width: 60px;
        height: 3px;
    }
    .page-cockfighting-betting-tips__section-description {
        font-size: 15px;
        margin-bottom: 30px;
        text-align: left; /* Align description left on mobile for better readability */
    }
    .page-cockfighting-betting-tips__text-block {
        font-size: 15px;
    }
    .page-cockfighting-betting-tips p {
        font-size: 15px;
    }


    /* 通用图片与容器 */
    .page-cockfighting-betting-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting-betting-tips__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Content grid for mobile */
    .page-cockfighting-betting-tips__content-grid {
        gap: 20px;
    }

    .page-cockfighting-betting-tips__card-grid {
        grid-template-columns: 1fr; /* Single column for cards on mobile */
        gap: 15px;
    }

    .page-cockfighting-betting-tips__card {
        padding: 20px;
    }

    .page-cockfighting-betting-tips__card-title {
        font-size: 20px;
    }

    .page-cockfighting-betting-tips__sub-title {
        font-size: 18px;
    }

    .page-cockfighting-betting-tips__list li,
    .page-cockfighting-betting-tips__ordered-list li {
        font-size: 15px;
        padding: 10px 15px;
    }

    /* FAQ Section Mobile */
    details.page-cockfighting-betting-tips__faq-item summary.page-cockfighting-betting-tips__faq-question { padding: 15px; }
    .page-cockfighting-betting-tips__faq-qtext { font-size: 15px; }
    details.page-cockfighting-betting-tips__faq-item .page-cockfighting-betting-tips__faq-answer { padding: 0 15px 15px; }

    .page-cockfighting-betting-tips__cta-section {
        padding: 40px 0;
    }
    .page-cockfighting-betting-tips__cta-content {
        padding: 0 15px;
    }
}