/* glcpg 系列模板 - 火凤 */
:root {
    --fx-primary: #7D2D13;
    --fx-primary-dark: #5C1D0A;
    --fx-accent: #EB580C;
    --fx-gradient1: #8C3A1E;
    --fx-gradient2: #6D2715;
    --fx-dark1: #2B0E06;
    --fx-dark2: #3B1A0E;
    --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);
}
.fx-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.fx-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.fx-hero-stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--fx-accent);
}
.fx-hero-stat-label {
    font-size: 0.85rem;
    color: var(--fx-text-muted);
}

/* ===== 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;
}

/* ===== About ===== */
.fx-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.fx-about-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.fx-about-img img {
    width: 100%;
    border-radius: 16px;
}
.fx-about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.fx-about-card {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: all 0.3s;
}
.fx-about-card:hover {
    border-color: var(--fx-primary);
    transform: translateX(4px);
}
.fx-about-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.fx-about-card-title {
    font-weight: 600;
    margin-bottom: 4px;
}
.fx-about-card-desc {
    font-size: 0.9rem;
    color: var(--fx-text-muted);
}

/* ===== Stats ===== */
.fx-stats {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.fx-stat-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--fx-accent);
    margin-bottom: 8px;
}
.fx-stat-label {
    font-size: 0.9rem;
    color: var(--fx-text-muted);
}

/* ===== Security ===== */
.fx-security {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.fx-security-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.fx-security-img img {
    width: 100%;
    border-radius: 16px;
}
.fx-security-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.fx-security-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    transition: all 0.3s;
}
.fx-security-item:hover {
    border-color: var(--fx-primary);
}
.fx-security-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.fx-security-item-title {
    font-weight: 600;
    margin-bottom: 4px;
}
.fx-security-item-desc {
    font-size: 0.85rem;
    color: var(--fx-text-muted);
}

/* ===== Version Accordion ===== */
.fx-version-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fx-version-item {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    overflow: hidden;
}
.fx-version-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}
.fx-version-header:hover {
    background: rgba(255, 255, 255, 0.03);
}
.fx-version-tag {
    font-weight: 600;
    color: var(--fx-accent);
}
.fx-version-date {
    font-size: 0.85rem;
    color: var(--fx-text-muted);
}
.fx-version-body {
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: var(--fx-text-muted);
    display: none;
}
.fx-version-item.active .fx-version-body {
    display: block;
}

/* ===== Mission ===== */
.fx-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.fx-mission-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.fx-mission-img img {
    width: 100%;
    border-radius: 16px;
}
.fx-mission-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.fx-mission-card {
    background: var(--fx-card-bg);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: all 0.3s;
}
.fx-mission-card:hover {
    border-color: var(--fx-primary);
}
.fx-mission-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.fx-mission-card-title {
    font-weight: 600;
    margin-bottom: 4px;
}
.fx-mission-card-desc {
    font-size: 0.9rem;
    color: var(--fx-text-muted);
}

/* ===== News ===== */
.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: 16/10;
    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);
}

/* ===== 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);
}

/* ===== Watermark ===== */
.fx-watermark {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 8px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fx-watermark i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent));
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.fx-watermark span {
    overflow: hidden;
    text-overflow: ellipsis;
}
.fx-watermark-sm {
    top: 8px;
    left: 8px;
    padding: 4px 10px 4px 5px;
    font-size: 0.7rem;
    border-radius: 16px;
    gap: 5px;
    max-width: calc(100% - 16px);
}
.fx-watermark-sm i {
    width: 16px;
    height: 16px;
    font-size: 0.55rem;
}

/* Watermark Position Modifiers */
.fx-wm-tr { top: 14px; left: auto; right: 14px; }
.fx-wm-bl { top: auto; left: 14px; bottom: 14px; }
.fx-wm-br { top: auto; left: auto; right: 14px; bottom: 14px; }
.fx-wm-tl { top: 14px; left: 14px; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .fx-about, .fx-security, .fx-mission {
        grid-template-columns: 1fr;
    }
    .fx-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .fx-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fx-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .fx-nav { display: none; }
    .fx-stats {
        grid-template-columns: 1fr 1fr;
        padding: 24px;
    }
    .fx-news-grid {
        grid-template-columns: 1fr;
    }
    .fx-footer-inner {
        grid-template-columns: 1fr;
    }
    .fx-watermark {
        font-size: 0.7rem;
        gap: 6px;
        padding: 0 12px;
        border-radius: 8px;
    }
    .fx-watermark i {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
        border-radius: 5px;
    }
    .fx-wm-tr { right: 8px; }
    .fx-wm-bl { bottom: 8px; }
    .fx-wm-br { right: 8px; bottom: 8px; }
}
