 /* ----- 重置 & 基础 ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #0c0c0c;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    cursor: crosshair; /* 准星指针，强化射击感 */
}
/* 自定义准星稍微细致一点 */
body * {
    cursor: crosshair;
}
a, button {
    cursor: crosshair;
}
/* 平滑滚动 (用于坦克按钮回到顶部) */
html {
    scroll-behavior: smooth;
}

/* ----- 辅助类 & 布局 ----- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(245, 124, 0, 0.15);
}
.section:last-child {
    border-bottom: none;
}
h1, h2, h3 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}
h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 1.1;
}
h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}
h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #f57c00;
    border-radius: 2px;
}
.btn-primary {
    display: inline-block;
    background: #f57c00;
    color: #0c0c0c;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    padding: 16px 48px;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 #b85e00;
    animation: pulse 2s infinite;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #b85e00;
    background: #ff8c1a;
}
.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #b85e00;
}
@keyframes pulse {
    0% { box-shadow: 0 4px 0 #b85e00; }
    50% { box-shadow: 0 4px 0 #b85e00, 0 0 15px #f57c00; }
    100% { box-shadow: 0 4px 0 #b85e00; }
}

/* ----- Hero 区域 ----- */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #050505;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}
/* 由于无法嵌入真实视频，这里用一张深色动态模拟图替代 */
.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, #3a2c1f, #0a0a0a);
    z-index: 0;
    opacity: 0.8;
}
.hero-video-fallback:after {
    content: '⚡';
    font-size: 20vw;
    color: rgba(245, 124, 0, 0.1);
    position: absolute;
    bottom: 5%;
    right: 5%;
    transform: rotate(10deg);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}
.hero h1 {
    color: #fff;
    text-shadow: 0 0 20px rgba(245,124,0,0.5);
}
.hero .subtitle {
    font-size: 1.5rem;
    margin: 20px 0 40px;
    color: #ccc;
}
/* 瞄准镜装饰 */
.crosshair-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(245,124,0,0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.crosshair-decoration:before, .crosshair-decoration:after {
    content: '';
    position: absolute;
    background: rgba(245,124,0,0.2);
}
.crosshair-decoration:before {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.crosshair-decoration:after {
    height: 2px;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* ----- 特色卡片网格 ----- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.feature-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid #333;
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(245,124,0,0.2);
    border-color: #f57c00;
}
.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M20 20 L80 80 M80 20 L20 80" stroke="%23f57c00" stroke-width="2"/></svg>');
    pointer-events: none;
}
.feature-card .icon {
    font-size: 3rem;
    color: #f57c00;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.feature-card p {
    color: #aaa;
}

/* ----- 炮弹展示区 (左右分栏) ----- */
.showcase {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #111;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #2a2a2a;
}
.showcase-media {
    flex: 1;
    min-height: 300px;
    background: #1e1e1e;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #f57c00;
    border: 2px dashed #f57c00;
    transition: all 0.2s;
    /* 模拟GIF区域 */
    background-image: radial-gradient(circle at 30% 30%, #f57c00 0%, transparent 30%),
                        radial-gradient(circle at 70% 70%, #f57c00 0%, transparent 30%);
    background-size: 60px 60px;
}
.showcase-list {
    flex: 1;
}
.ammo-item {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #1a1a1a;
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}
.ammo-item:hover {
    border-left-color: #f57c00;
    background: #222;
    transform: translateX(5px);
}
.ammo-item .name {
    font-family: 'Anton', sans-serif;
    font-size: 1.3rem;
    color: #f57c00;
}
.ammo-item .desc {
    font-size: 0.9rem;
    color: #aaa;
}

/* ----- 彩蛋揭秘 ----- */
.egg-map {
    background: #0f0f0f url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" opacity="0.1"><circle cx="30" cy="40" r="2" fill="%23f57c00"/><circle cx="150" cy="20" r="2" fill="%23f57c00"/><circle cx="80" cy="70" r="2" fill="%23f57c00"/><circle cx="170" cy="80" r="2" fill="%23f57c00"/></svg>');
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}
.egg-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}
.egg-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    filter: grayscale(0.7);
    transition: all 0.2s;
    cursor: pointer;
}
.egg-logo:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}
.egg-logo i {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 10px #f57c00;
}
.egg-logo span {
    font-size: 0.9rem;
    color: #f57c00;
    font-weight: bold;
}
.egg-boss-preview {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    margin: 30px auto 0;
    border: 1px solid #f57c00;
}
.egg-boss-preview p {
    font-style: italic;
    color: #ccc;
}

/* ----- 下载区域 ----- */
.download {
    text-align: center;
    background: #0a0a0a;
    border-radius: 40px;
    padding: 60px 20px;
    background-image: radial-gradient(circle at 20% 30%, rgba(245,124,0,0.1) 0%, transparent 30%);
}
.download h2:after {
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
}
.store-badge {
    margin: 30px 0;
}
.store-badge img {
    max-width: 240px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
    transition: transform 0.2s;
}
.store-badge img:hover {
    transform: scale(1.05);
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.social-links a {
    color: #aaa;
    font-size: 2rem;
    transition: color 0.2s;
}
.social-links a:hover {
    color: #f57c00;
}

/* ----- 页脚 & 坦克回到顶部按钮 ----- */
.footer {
    padding: 30px 0;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #222;
}
.tank-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;            
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    /* border: 2px solid #f57c00; */
    transition: all 0.2s;            
    z-index: 99;
    background-image:url("./icon48.png");
    background-size: cover;   
    color:transparent;            
}
.tank-top:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px #f57c00;
    color: #0c0c0c;
}
.tank-top i {
    pointer-events: none;
}
/* 坦克图标我们用 FontAwesome 的坦克? 其实没有标准坦克，用坦克组合: 履带+炮塔 */
.tank-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
            
}
.tank-icon .turret {
    font-size: 1.5rem;
    display: inline-block;
}   

/* 炮弹飞出动画 */
@keyframes shell-shot {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-260px, -260px) scale(0.5);
    }
}

.shell {
    position: fixed;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 30% 30%, #ffaa00, #f57c00);
    border-radius: 50%;
    box-shadow: 0 0 15px #f57c00, 0 0 30px #ff8c1a;
    pointer-events: none;  /* 防止遮挡点击 */
    z-index: 10000;
    animation: shell-shot 1.0s ease-out forwards;
}

/* 响应式 */
@media (max-width: 768px) {
    .showcase {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .btn-primary {
        font-size: 1.2rem;
        padding: 14px 30px;
    }
    .section {
        padding: 50px 0;
    }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #f57c00;
    color: #0c0c0c;
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}