:root {
    --bg-color: #050510;
    --text-color: #ffffff;
    --accent-color: #00f3ff;
    --secondary-color: #bc13fe;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 背景星空动画 */
.stars,
.twinkling {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.stars {
    background: #000 url('images/stars.png') repeat top center;
    z-index: 0;
}

.twinkling {
    background: transparent url('images/twinkling.png') repeat top center;
    z-index: 1;
    animation: move-twink-back 200s linear infinite;
    opacity: 0.5;
}

@keyframes move-twink-back {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -10000px 5000px;
    }
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.container {
    z-index: 10;
    text-align: center;
    max-width: 600px;
    width: 90%;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
}

/* 行星与火箭动画 */
.icon-container {
    position: relative;
    height: 150px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.planet {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    border-radius: 50%;
    position: relative;
    box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 95, 109, 0.4);
}

.crater {
    position: absolute;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.c1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 20%;
}

.c2 {
    width: 10px;
    height: 10px;
    top: 60%;
    left: 60%;
}

.c3 {
    width: 15px;
    height: 15px;
    top: 30%;
    left: 70%;
}

.ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
}

.rocket {
    font-size: 2rem;
    position: absolute;
    animation: orbit 5s linear infinite;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

/* 进度条 */
.progress-container {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 5px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

.status-text {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2rem;
}

.icp {
    display: inline-block;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.icp:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* 漂浮的 Bug */
.bug {
    position: absolute;
    font-size: 2rem;
    cursor: crosshair;
    animation: float 3s ease-in-out infinite;
    z-index: 20;
    transition: transform 0.2s;
}

.bug:hover {
    transform: scale(1.2);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* 响应式 */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 1.5rem;
    }
}