，/* 基础样式和重置 */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #ff003c;
    --primary-blue: #00a6ff;
    --dark-bg: #000814;
    --neon-glow-red: 0 0 10px rgba(255, 0, 60, 0.8), 0 0 20px rgba(255, 0, 60, 0.5), 0 0 30px rgba(255, 0, 60, 0.3);
    --neon-glow-blue: 0 0 10px rgba(0, 166, 255, 0.8), 0 0 20px rgba(0, 166, 255, 0.5), 0 0 30px rgba(0, 166, 255, 0.3);
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Share Tech Mono', monospace;
    background-color: var(--dark-bg);
    color: #ffffff;
}

/* 背景样式 */
body {
    background-image: url('https://oss.tutusec.com/2025/07/20250630164743575.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 8, 20, 0.7);
    z-index: 1;
}

/* 标题样式 */
.glitch-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 5vh;
}

.glitch, .subtitle {
    position: relative;
    color: white;
    letter-spacing: 2px;
}

.glitch {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: var(--neon-glow-red);
    animation: glitch 2s infinite alternate-reverse;
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    color: var(--primary-blue);
    text-shadow: var(--neon-glow-blue);
}

.glitch::before, .glitch::after,
.subtitle::before, .subtitle::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-red);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
    left: -2px;
    text-shadow: 2px 0 var(--primary-blue);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

/* 倒计时容器样式 */
.countdown-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70vh;
    width: 100%;
    padding: 26px;
}

.countdown-heading {
    margin-bottom: 30px;
    text-align: center;
}

.countdown-title {
    font-size: 3.25rem;
    font-weight: bold;
    color: #fff;
    text-shadow: var(--neon-glow-blue);
    position: relative;
    animation: glitch 3s infinite alternate-reverse;
}

.countdown-title::before,
.countdown-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.countdown-title::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-red);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.countdown-title::after {
    left: -2px;
    text-shadow: 2px 0 var(--primary-blue);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 39px;
    margin-bottom: 80px; /* 从52px增加到80px，使下方元素向下移动 */
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 234px;
}

.countdown-value {
    font-size: 7.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: var(--neon-glow-red);
    position: relative;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    backdrop-filter: blur(5px);
    width: 100%;
    text-align: center;
}

#days {
    background: none;
    color: #88CCCA;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #88CCCA;
    text-shadow: 0 0 10px #88CCCA, 0 0 20px #88CCCA, 0 0 30px #88CCCA;
}

.countdown-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 60, 0.2), rgba(0, 166, 255, 0.2));
    z-index: -1;
    border-radius: 5px;
}

.countdown-label {
    font-size: 1.95rem;
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-shadow: var(--neon-glow-blue);
}

/* 目标日期和进度条 */
.target-date {
    width: 90%;
    max-width: 1040px;
    text-align: center;
    margin-top: 20px; /* 添加上边距，进一步向下移动容器 */
}

.date-label {
    font-size: 1.56rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    letter-spacing: 1px;
    text-shadow: var(--neon-glow-blue);
}

.progress-container {
    width: 100%;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    border-radius: 13px;
    transition: width 0.5s ease;
    box-shadow: 0 0 15px var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: progress-shine 2s infinite;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .progress-container {
        height: 20px;
    }
    
    .progress-text {
        font-size: 0.85rem;
    }
    
    .date-label {
        font-size: 1.2rem;
    }
    
    .countdown-label {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .progress-container {
        height: 16px;
    }
    
    .progress-text {
        font-size: 0.75rem;
    }
    
    .date-label {
        font-size: 1rem;
    }
    
    .countdown-label {
        font-size: 1.2rem;
    }
}

.wish-container {
    width: 100%;
    padding: 20px;
    text-align: center;
    margin-top: 45px;  /* 从30px增加到45px，使祝福语容器更往下移 */
}

.wish-text {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    background-image: linear-gradient(
        90deg,
        var(--primary-red) 0%,
        var(--primary-blue) 25%,
        var(--primary-red) 50%,
        var(--primary-blue) 75%,
        var(--primary-red) 100%
    );
    background-size: 200% 100%;
    animation: flowing-gradient 3s linear infinite;
}

@keyframes flowing-gradient {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* 黑客元素 */
.hacker-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(0, 166, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 166, 255, 0.5);
    animation: scan 4s linear infinite;
}

.corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-blue);
    opacity: 0.7;
}

.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.binary-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(0, 166, 255, 0.3);
    font-size: 12px;
    overflow: hidden;
    z-index: -1;
}

/* 动画 */
@keyframes glitch {
    0% {
        text-shadow: var(--neon-glow-red);
    }
    33% {
        text-shadow: var(--neon-glow-blue);
    }
    66% {
        text-shadow: var(--neon-glow-red);
    }
    100% {
        text-shadow: var(--neon-glow-blue);
    }
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%);
    }
    50% {
        clip-path: polygon(0 15%, 100% 15%, 100% 45%, 0 45%);
    }
    100% {
        clip-path: polygon(0 35%, 100% 35%, 100% 65%, 0 65%);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: polygon(0 65%, 100% 65%, 100% 85%, 0 85%);
    }
    50% {
        clip-path: polygon(0 45%, 100% 45%, 100% 75%, 0 75%);
    }
    100% {
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    }
}

@keyframes scan {
    0% {
        top: 0%;
    }
    100% {
        top: 100%;
    }
}

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .glitch {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .countdown-title {
        font-size: 2rem;
    }
    
    .countdown-wrapper {
        gap: 20px;
    }
    
    .countdown-item {
        min-width: 120px;
    }
    
    .countdown-value {
        font-size: 4rem;
    }
    
    .target-date {
        width: 95%;
    }
    
    .progress-bar {
        height: 15px;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .countdown-title {
        font-size: 1.5rem;
    }
    
    .countdown-wrapper {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-value {
        font-size: 3rem;
        padding: 5px;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .corner {
        width: 30px;
        height: 30px;
    }
    
    .progress-bar {
        height: 12px;
    }
}