: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;
}

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

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

.page-cockfighting__section-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__section-description {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-cockfighting__content-area {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main);
}

.page-cockfighting__content-area p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-cockfighting__content-area strong {
    color: var(--text-main);
}

.page-cockfighting__content-area a {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(8, 22, 43, 0.8) 0%, rgba(8, 22, 43, 0.95) 100%);
    margin-top: -5px;
}

.page-cockfighting__main-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-cockfighting__hero-description {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.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;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.3);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.5);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
    transform: translateY(-2px);
}

.page-cockfighting__intro-section,
.page-cockfighting__rules-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-cockfighting__dark-section {
    background-color: var(--deep-navy);
    color: var(--text-main);
}

.page-cockfighting__feature-image,
.page-cockfighting__guide-image,
.page-cockfighting__strategy-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__betting-types-section,
.page-cockfighting__advantages-section,
.page-cockfighting__promotions-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: var(--primary-color);
}

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

.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

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

.page-cockfighting__card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-cockfighting__card-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.page-cockfighting__card .page-cockfighting__btn-secondary {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
}

.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
    list-style-position: inside;
    margin: 20px 0;
    padding-left: 20px;
    color: var(--text-secondary);
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-cockfighting__ordered-list li strong,
.page-cockfighting__unordered-list li strong {
    color: var(--text-main);
}

.page-cockfighting__advantages-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
}
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;
}
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.5);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--deep-navy), 0.8);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-cockfighting__final-cta-section {
    padding: 60px 0 80px;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--text-main);
}
.page-cockfighting__final-cta-section .page-cockfighting__section-title {
    color: var(--text-main);
}
.page-cockfighting__final-cta-section .page-cockfighting__section-description {
    color: var(--text-main);
    margin-bottom: 40px;
}
.page-cockfighting__final-cta-section .page-cockfighting__cta-buttons {
    margin-top: 0;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-cockfighting__container {
        padding: 15px;
    }
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(32px, 4.5vw, 48px);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(16px, 2.2vw, 20px);
    }
    .page-cockfighting__section-title {
        font-size: clamp(26px, 3.5vw, 34px);
    }
    .page-cockfighting__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-cockfighting__card {
        padding: 25px;
    }
    .page-cockfighting__cta-buttons {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-cockfighting__hero-section {
        padding-top: 10px;
        margin-bottom: 30px;
    }
    .page-cockfighting__hero-image-wrapper {
        padding-bottom: 75%;
    }
    .page-cockfighting__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        background-color: var(--deep-navy);
    }
    .page-cockfighting__hero-content {
        padding: 25px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: clamp(15px, 3.5vw, 18px);
        margin-bottom: 25px;
    }
}