/* style/cockfighting-live-streams.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --background-color: #1a1a1a; /* Inherited from shared.css body background */
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --register-login-font-color: #FFFF00;
}

.page-cockfighting-live-streams {
    font-family: Arial, sans-serif;
    color: var(--text-color-dark-bg);
    background-color: var(--background-color);
}

.page-cockfighting-live-streams__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-cockfighting-live-streams__dark-bg {
    background-color: var(--background-color);
    color: var(--text-color-dark-bg);
}

.page-cockfighting-live-streams__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-color-light-bg);
}

/* Hero Section */
.page-cockfighting-live-streams__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    gap: 40px;
    padding-top: 0; /* Assumes shared.css handles body padding-top */
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

.page-cockfighting-live-streams__hero-content {
    flex: 1;
    max-width: 50%;
    z-index: 1;
}

.page-cockfighting-live-streams__hero-title {
    font-size: 3.2em;
    color: var(--register-login-font-color); /* Using #FFFF00 for impact */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-live-streams__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-color-dark-bg);
}

.page-cockfighting-live-streams__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-cockfighting-live-streams__hero-image-wrapper {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 0;
}

.page-cockfighting-live-streams__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styles */
.page-cockfighting-live-streams__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-cockfighting-live-streams__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.page-cockfighting-live-streams__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Buttons */
.page-cockfighting-live-streams__btn-primary,
.page-cockfighting-live-streams__btn-secondary,
.page-cockfighting-live-streams__btn-register,
.page-cockfighting-live-streams__btn-login,
.page-cockfighting-live-streams a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting-live-streams__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting-live-streams__btn-primary:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
}

.page-cockfighting-live-streams__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting-live-streams__btn-secondary:hover {
    background-color: rgba(1, 116, 57, 0.1);
    transform: translateY(-2px);
}

.page-cockfighting-live-streams__btn-register {
    background-color: var(--register-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-color);
}

.page-cockfighting-live-streams__btn-register:hover {
    background-color: #9e0606;
    transform: translateY(-2px);
}

.page-cockfighting-live-streams__btn-login {
    background-color: var(--login-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--login-color);
}

.page-cockfighting-live-streams__btn-login:hover {
    background-color: #9e0606;
    transform: translateY(-2px);
}

.page-cockfighting-live-streams__btn-inline {
    margin-top: 20px;
}

/* About Section */
.page-cockfighting-live-streams__about-section {
    padding: 60px 0;
}

.page-cockfighting-live-streams__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting-live-streams__feature-item {
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-live-streams__feature-item.page-cockfighting-live-streams__card {
    background: rgba(1, 116, 57, 0.2); /* Semi-transparent primary color */
    color: var(--text-color-dark-bg);
}

.page-cockfighting-live-streams__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--register-login-font-color);
}

.page-cockfighting-live-streams__feature-description {
    font-size: 1em;
    line-height: 1.5;
}

/* Live Features Section */
.page-cockfighting-live-streams__live-features-section {
    padding: 60px 0;
}

.page-cockfighting-live-streams__content-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-cockfighting-live-streams__content-text {
    flex: 1;
}

.page-cockfighting-live-streams__content-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.page-cockfighting-live-streams__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* How to Bet Section */
.page-cockfighting-live-streams__how-to-bet-section {
    padding: 60px 0;
}

.page-cockfighting-live-streams__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-cockfighting-live-streams__step-item {
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.page-cockfighting-live-streams__step-item.page-cockfighting-live-streams__card {
    background: var(--secondary-color);
    color: var(--text-color-light-bg);
}

.page-cockfighting-live-streams__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-live-streams__step-title {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-cockfighting-live-streams__betting-info-image-wrapper {
    text-align: center;
}

.page-cockfighting-live-streams__betting-info-image {
    width: 100%;
    height: auto;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-cockfighting-live-streams__promotions-section {
    padding: 60px 0;
}

.page-cockfighting-live-streams__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-cockfighting-live-streams__promo-card {
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-live-streams__promo-card.page-cockfighting-live-streams__card {
    background: rgba(255, 255, 255, 0.1); /* Light semi-transparent for dark bg */
    color: var(--text-color-dark-bg);
}

.page-cockfighting-live-streams__promo-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--register-login-font-color);
}

.page-cockfighting-live-streams__promo-description {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-cockfighting-live-streams__promo-image-wrapper {
    text-align: center;
}

.page-cockfighting-live-streams__promo-image {
    width: 100%;
    height: auto;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Other Games Section */
.page-cockfighting-live-streams__other-games-section {
    padding: 60px 0;
}

.page-cockfighting-live-streams__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting-live-streams__game-card {
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.page-cockfighting-live-streams__game-card.page-cockfighting-live-streams__card {
    background: var(--secondary-color);
    color: var(--text-color-light-bg);
}

.page-cockfighting-live-streams__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-cockfighting-live-streams__game-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-cockfighting-live-streams__game-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-cockfighting-live-streams__game-title a:hover {
    text-decoration: underline;
}

.page-cockfighting-live-streams__game-description {
    font-size: 0.95em;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 0 15px;
}

.page-cockfighting-live-streams__game-card .page-cockfighting-live-streams__btn-primary {
    margin: 0 15px 15px;
}

/* FAQ Section */
.page-cockfighting-live-streams__faq-section {
    padding: 60px 0;
}

.page-cockfighting-live-streams__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-cockfighting-live-streams__faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.page-cockfighting-live-streams__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: rgba(1, 116, 57, 0.4); /* Darker primary for question */
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-color-dark-bg);
    transition: background-color 0.3s ease;
}

.page-cockfighting-live-streams__faq-question:hover {
    background-color: rgba(1, 116, 57, 0.6);
}

.page-cockfighting-live-streams__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting-live-streams__faq-item.active .page-cockfighting-live-streams__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting-live-streams__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting-live-streams__faq-item.active .page-cockfighting-live-streams__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-cockfighting-live-streams__faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color-dark-bg);
}

/* CTA Section */
.page-cockfighting-live-streams__cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting-live-streams__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Security Section */
.page-cockfighting-live-streams__security-section {
    padding: 60px 0;
}

.page-cockfighting-live-streams__security-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-direction: row-reverse;
}

.page-cockfighting-live-streams__security-text {
    flex: 1;
}

.page-cockfighting-live-streams__security-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.page-cockfighting-live-streams__security-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Global image and container responsive styles */
.page-cockfighting-live-streams img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting-live-streams__section,
.page-cockfighting-live-streams__card,
.page-cockfighting-live-streams__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-cockfighting-live-streams__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting-live-streams__section-title {
        font-size: 2em;
    }
    .page-cockfighting-live-streams__hero-section,
    .page-cockfighting-live-streams__content-grid,
    .page-cockfighting-live-streams__security-content {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting-live-streams__hero-content,
    .page-cockfighting-live-streams__hero-image-wrapper {
        max-width: 100%;
    }
    .page-cockfighting-live-streams__hero-image-wrapper {
        justify-content: center;
    }
    .page-cockfighting-live-streams__hero-buttons,
    .page-cockfighting-live-streams__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-cockfighting-live-streams__hero-section {
        padding: 40px 15px;
        flex-direction: column;
        padding-top: var(--header-offset, 120px) !important; /* Ensure spacing if shared doesn't handle body padding */
        min-height: auto;
    }
    .page-cockfighting-live-streams__hero-title {
        font-size: 2em !important;
        margin-bottom: 15px;
    }
    .page-cockfighting-live-streams__hero-description {
        font-size: 1em !important;
        margin-bottom: 20px;
    }
    .page-cockfighting-live-streams__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        order: 2;
    }
    .page-cockfighting-live-streams__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        order: 1;
        margin-bottom: 30px;
    }
    .page-cockfighting-live-streams__hero-image {
        width: 100% !important;
        height: auto !important;
    }

    /* 产品展示图区域 (Other Games Section) */
    .page-cockfighting-live-streams__games-grid {
        grid-template-columns: 1fr !important; /* Single column */
        gap: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    .page-cockfighting-live-streams__game-card {
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .page-cockfighting-live-streams__game-image {
        height: 180px !important; /* Slightly smaller fixed height for mobile */
    }

    /* 通用图片与容器 */
    .page-cockfighting-live-streams img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting-live-streams__container,
    .page-cockfighting-live-streams__section,
    .page-cockfighting-live-streams__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-cockfighting-live-streams__content-image-wrapper,
    .page-cockfighting-live-streams__betting-info-image-wrapper,
    .page-cockfighting-live-streams__promo-image-wrapper,
    .page-cockfighting-live-streams__security-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        margin-top: 30px;
    }

    /* 按钮与按钮容器 */
    .page-cockfighting-live-streams__btn-primary,
    .page-cockfighting-live-streams__btn-secondary,
    .page-cockfighting-live-streams__btn-register,
    .page-cockfighting-live-streams__btn-login,
    .page-cockfighting-live-streams a[class*="button"],
    .page-cockfighting-live-streams 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: 12px 20px !important;
        font-size: 1em !important;
    }
    .page-cockfighting-live-streams__hero-buttons,
    .page-cockfighting-live-streams__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box !important;
    }
    .page-cockfighting-live-streams__btn-inline {
        width: 100% !important;
        margin-top: 15px !important;
    }

    /* 其他内容模块 */
    .page-cockfighting-live-streams__section-title {
        font-size: 1.8em !important;
        padding-top: 20px;
    }
    .page-cockfighting-live-streams__section-intro {
        font-size: 0.95em !important;
        margin-bottom: 30px;
    }
    .page-cockfighting-live-streams__sub-title {
        font-size: 1.5em !important;
    }
    .page-cockfighting-live-streams__features-grid,
    .page-cockfighting-live-streams__steps-grid,
    .page-cockfighting-live-streams__promotions-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .page-cockfighting-live-streams__feature-item,
    .page-cockfighting-live-streams__step-item,
    .page-cockfighting-live-streams__promo-card {
        padding: 20px !important;
    }
    .page-cockfighting-live-streams__faq-question {
        padding: 15px 20px !important;
        font-size: 1em !important;
    }
    .page-cockfighting-live-streams__faq-answer {
        padding: 0 20px !important;
    }
    .page-cockfighting-live-streams__faq-item.active .page-cockfighting-live-streams__faq-answer {
        padding: 10px 20px !important;
    }
    .page-cockfighting-live-streams__faq-list {
        padding: 0 15px;
    }
    .page-cockfighting-live-streams__content-grid,
    .page-cockfighting-live-streams__security-content {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .page-cockfighting-live-streams__security-content {
        flex-direction: column-reverse !important; /* Reverse order for mobile */
    }
    .page-cockfighting-live-streams__security-image-wrapper {
        margin-bottom: 20px;
    }
}

/* Ensure all content area images do not have filters */
.page-cockfighting-live-streams img {
    filter: none !important;
}