/* njzy 系列模板 - 火凤 */
:root {
    --fx-primary: #8D3D23;
    --fx-primary-dark: #6C2D1A;
    --fx-accent: #FB782C;
    --fx-gradient1: #9D4A2E;
    --fx-gradient2: #7D3725;
    --fx-dark1: #3B1E16;
    --fx-dark2: #4B2A1E;
    --fx-bg: #0a0d1a;
    --fx-text: #e2e8f0;
    --fx-text-muted: #94a3b8;
    --fx-border: rgba(255, 255, 255, 0.08);
    --fx-card-bg: rgba(255, 255, 255, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--fx-bg);
    color: var(--fx-text);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ===== Header ===== */
.fx-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 13, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fx-border);
    padding: 0 24px;
}
.fx-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.fx-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}
.fx-logo img { height: 36px; }
.fx-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.fx-nav a {
    font-size: 0.9rem;
    color: var(--fx-text-muted);
    transition: color 0.2s;
}
.fx-nav a:hover { color: var(--fx-primary); }
.fx-nav-btn {
    background: var(--fx-primary);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
}

/* ===== Hero ===== */
.fx-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 64px;
}
.fx-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.fx-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fx-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 13, 26, 0.85) 0%, rgba(10, 13, 26, 0.6) 50%, rgba(10, 13, 26, 0.4) 100%);
}
.fx-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
}
.fx-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--fx-border);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.85rem;
    color: var(--fx-accent);
    margin-bottom: 24px;
}
.fx-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--fx-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fx-hero-sub {
    font-size: 1.1rem;
    color: var(--fx-text-muted);
    max-width: 640px;
    margin-bottom: 32px;
}
.fx-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--fx-primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-right: 16px;
}
.fx-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.fx-hero-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--fx-text);
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--fx-border);
    transition: all 0.3s;
}
.fx-hero-cta-outline:hover {
    border-color: var(--fx-primary);
    color: var(--fx-primary);
}

/* ===== Section Common ===== */
.fx-section {
    padding: 80px 24px;
    max-width: 1280px;
    margin: 0 auto;
}
.fx-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.fx-section-title i { color: var(--fx-primary); }
.fx-section-desc {
    color: var(--fx-text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 640px;
}
.fx-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.fx-section-header a {
    color: var(--fx-accent);
    font-size: 0.9rem;
}

/* ===== Live Cards ===== */
.fx-live-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.fx-live-card {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.fx-live-card:hover {
    border-color: var(--fx-primary);
    transform: translateY(-4px);
}
.fx-live-img {
    position: relative;
    aspect-ratio: 2/1;
    overflow: hidden;
}
.fx-live-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fx-live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}
.fx-live-badge.upcoming {
    background: var(--fx-primary);
}
.fx-live-body {
    padding: 16px;
}
.fx-live-league {
    font-size: 0.8rem;
    color: var(--fx-text-muted);
    margin-bottom: 8px;
}
.fx-live-teams {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
}
.fx-live-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fx-live-score-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fx-accent);
}
.fx-live-score-time {
    font-size: 0.85rem;
    color: var(--fx-text-muted);
}
.fx-live-btn {
    display: block;
    text-align: center;
    background: var(--fx-primary);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== News Cards ===== */
.fx-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.fx-news-card {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.fx-news-card:hover {
    border-color: var(--fx-primary);
    transform: translateY(-4px);
}
.fx-news-img {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}
.fx-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fx-news-body {
    padding: 16px;
}
.fx-news-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: var(--fx-accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    margin-bottom: 8px;
}
.fx-news-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fx-news-date {
    font-size: 0.8rem;
    color: var(--fx-text-muted);
}

/* ===== Tables ===== */
.fx-table-wrap {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    overflow: hidden;
}
.fx-table {
    width: 100%;
    border-collapse: collapse;
}
.fx-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 14px 16px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--fx-text-muted);
    font-weight: 500;
}
.fx-table td {
    padding: 14px 16px;
    border-top: 1px solid var(--fx-border);
    font-size: 0.9rem;
}
.fx-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}
.fx-table-rank {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--fx-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ===== Community ===== */
.fx-community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.fx-community-card {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    padding: 24px;
}
.fx-community-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--fx-accent);
}
.fx-poll-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}
.fx-poll-fill {
    height: 100%;
    background: var(--fx-primary);
    border-radius: 4px;
}
.fx-chat-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 16px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.85rem;
}
.fx-chat-msg {
    margin-bottom: 8px;
}
.fx-chat-user {
    color: var(--fx-accent);
    font-weight: 500;
}

/* ===== Videos ===== */
.fx-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.fx-video-card {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.fx-video-card:hover {
    border-color: var(--fx-primary);
    transform: translateY(-4px);
}
.fx-video-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.fx-video-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fx-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fx-video-play::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}
.fx-video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}
.fx-video-body {
    padding: 12px;
}
.fx-video-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.fx-video-views {
    font-size: 0.8rem;
    color: var(--fx-text-muted);
}

/* ===== Footer ===== */
.fx-footer {
    background: var(--fx-dark2);
    border-top: 1px solid var(--fx-border);
    padding: 60px 24px 30px;
}
.fx-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}
.fx-footer-brand img { height: 40px; margin-bottom: 16px; }
.fx-footer-brand p {
    font-size: 0.9rem;
    color: var(--fx-text-muted);
    max-width: 320px;
}
.fx-footer-col h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--fx-text);
}
.fx-footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--fx-text-muted);
    margin-bottom: 10px;
    transition: color 0.2s;
}
.fx-footer-col a:hover { color: var(--fx-primary); }
.fx-footer-bottom {
    max-width: 1280px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--fx-border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--fx-text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .fx-live-grid, .fx-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fx-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fx-community-grid {
        grid-template-columns: 1fr;
    }
    .fx-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .fx-nav { display: none; }
    .fx-live-grid, .fx-news-grid, .fx-video-grid {
        grid-template-columns: 1fr;
    }
    .fx-footer-inner {
        grid-template-columns: 1fr;
    }
}
