@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Noto+Sans+SC:wght@400;700;900&display=swap');

:root {
    --bg-base: #050505;
    --primary-red: #ff2a2a;
    --primary-glow: rgba(255, 42, 42, 0.6);
    --accent-yellow: #fce205;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --panel-bg: rgba(15, 15, 15, 0.85);
    --panel-border: #333;
    --ui-font: 'Orbitron', -apple-system, sans-serif;
    --zh-font: 'Noto Sans SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--zh-font);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 全屏噪点层，增加质感 */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
}

/* 容器基础配置 */
.container {
    padding: 0 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* --- 顶部 HUD 导航 --- */
.cyber-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    z-index: 100;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-zh {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 8px var(--primary-glow);
}

.brand-en {
    font-family: var(--ui-font);
    font-size: 0.6rem;
    color: var(--accent-yellow);
    letter-spacing: 1px;
}


/* --- 首屏：视觉压迫感 --- */
.hero-zone {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.65) contrast(1.1) saturate(1.2);
    transform: scale(1.05); /* 防露边 */
}

/* 暗角和底部的渐变过渡 */
.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, #000 100%),
                linear-gradient(to top, var(--bg-base) 0%, transparent 25%);
}

.hero-core {
    text-align: center;
    margin-top: 10vh;
}

.glitch-text {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255,0,0,0.75),
                -0.025em -0.05em 0 rgba(0,255,0,0.75),
                0.025em 0.05em 0 rgba(0,0,255,0.75);
    animation: glitchs 2s infinite linear alternate-reverse;
    line-height: 1.2;
    margin-bottom: 15px;
}

@keyframes glitchs {
    0% { text-shadow: 0.05em 0 0 rgba(255,0,0,0.75), -0.05em -0.025em 0 rgba(0,255,0,0.75), -0.025em 0.05em 0 rgba(0,0,255,0.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255,0,0,0.75), -0.05em -0.025em 0 rgba(0,255,0,0.75), -0.025em 0.05em 0 rgba(0,0,255,0.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75), 0.025em 0.025em 0 rgba(0,255,0,0.75), -0.05em -0.05em 0 rgba(0,0,255,0.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75), 0.025em 0.025em 0 rgba(0,255,0,0.75), -0.05em -0.05em 0 rgba(0,0,255,0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75), 0.05em 0 0 rgba(0,255,0,0.75), 0 -0.05em 0 rgba(0,0,255,0.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75), 0.05em 0 0 rgba(0,255,0,0.75), 0 -0.05em 0 rgba(0,0,255,0.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255,0,0,0.75), -0.025em -0.025em 0 rgba(0,255,0,0.75), -0.025em -0.05em 0 rgba(0,0,255,0.75); }
}

.sub-slogan {
    font-size: 1rem;
    color: var(--accent-yellow);
    font-weight: 700;
    letter-spacing: 2px;
}

.bracket {
    color: var(--primary-red);
    margin: 0 5px;
}

/* 引导下划箭头 */
.scroll-target {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow-down {
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
    transform: rotate(45deg);
    animation: arrowPulse 1.5s infinite;
}

.arrow-down:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.5;
}

@keyframes arrowPulse {
    0% { transform: translateY(-5px) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(10px) rotate(45deg); opacity: 0; }
}

/* --- 模块结构系统 --- */
.ops-section {
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
}

.section-title {
    display: flex;
    align-items: baseline;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 42, 42, 0.3);
    padding-bottom: 10px;
}

.title-index {
    font-family: var(--ui-font);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-right: 15px;
    opacity: 0.8;
}

.title-main {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.title-suffix {
    font-family: var(--ui-font);
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* 赛博机甲风面板 */
.cyber-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    position: relative;
    padding: 25px;
    /* 切角外形 */
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

/* 伪元素制造内部的发光和高亮边缘 */
.cyber-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid rgba(255, 42, 42, 0.2);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    pointer-events: none;
}

/* 四角的装饰细节 */
.panel-corners::before,
.panel-corners::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: var(--primary-red);
    border-style: solid;
}

.panel-corners::before {
    top: 0; left: 0;
    border-width: 2px 0 0 2px;
}
.panel-corners::after {
    bottom: 0; right: 0;
    border-width: 0 2px 2px 0;
}

.cyber-panel p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 1em;
    text-align: justify;
}
.cyber-panel p:last-child {
    margin-bottom: 0;
}

/* --- 产品列表：卡片变形 --- */
.project-banner {
    position: relative;
    height: 180px;
    margin-bottom: 15px;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.project-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 70%);
}

.project-name {
    position: absolute;
    bottom: 15px;
    left: 20px;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-yellow);
    text-shadow: 2px 2px 0 #000;
    font-style: italic;
}

.desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px !important;
}

/* 游戏属性栅格 */
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--primary-red);
    padding: 8px 15px;
}

.stat-label {
    width: 100px;
    font-family: var(--ui-font);
    font-size: 0.7rem;
    color: var(--primary-red);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.stat-value {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-left: 10px;
}

/* --- 数字商务模块：合作邀请 --- */
.collab-module {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 42, 42, 0.15);
    padding: 2px; /* 间隙造出细腻边框感 */
    margin-top: 20px;
    overflow: hidden;
}

.module-decor-tech {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(255, 42, 42, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.02) 50%, transparent 52%);
    background-size: 100% 100%, 20px 20px;
    pointer-events: none;
}

.module-inner {
    background: #0a0a0a;
    padding: 30px 25px;
    position: relative;
    z-index: 1;
}

.collab-text-content {
    margin-bottom: 35px;
}

.collab-text-content p {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: justify;
}

.collab-text-content .highlight {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-left: 3px solid var(--primary-red);
    padding-left: 15px;
    margin-bottom: 20px;
}

.collab-text-content .sub-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* 联系区域布局 */
.contact-action-zone {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-family: var(--ui-font);
    font-size: 0.6rem;
    color: var(--primary-red);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.info-id {
    font-family: var(--ui-font);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-yellow);
    text-shadow: 0 0 10px rgba(252, 226, 5, 0.2);
}

/* 简约高科技按钮 */
.copy-trigger {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    font-family: var(--ui-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.copy-trigger::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--primary-red);
    z-index: -1;
    transition: transform 0.4s;
}

.copy-trigger:hover {
    border-color: var(--primary-red);
    color: #fff;
}

.copy-trigger:hover::before {
    transform: translateX(100%);
}

.copy-trigger.success {
    background: #27c93f;
    border-color: #27c93f;
    color: #000;
}

.module-footer {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.status-indicator {
    font-family: var(--ui-font);
    font-size: 0.6rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator .ping {
    width: 6px;
    height: 6px;
    background: #27c93f;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #27c93f;
}

.brand-stamp {
    font-family: var(--ui-font);
    font-size: 0.55rem;
    color: #333;
    letter-spacing: 1px;
}

.cyber-footer {
    padding: 40px 20px;
    text-align: center;
    font-family: var(--ui-font);
    color: #444;
    font-size: 0.7rem;
}

.footer-line {
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
    color: #fff;
    margin: 0 auto 15px;
}

/* --- 入场动画特效 --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
