* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    background: linear-gradient(135deg, #0c1445 0%, #1a237e 50%, #000051 100%);
    height: 100vh;
    position: relative;
}

.starfield-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.info-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    max-width: 300px;
}

.info-panel h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #e3f2fd;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.info-panel p {
    font-size: 0.9em;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #bbdefb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .info-panel {
        top: 10px;
        left: 10px;
        padding: 15px;
        max-width: 250px;
    }
    
    .info-panel h1 {
        font-size: 1.2em;
    }
    
    .info-panel p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .info-panel {
        top: 5px;
        left: 5px;
        padding: 10px;
        max-width: 200px;
    }
    
    .info-panel h1 {
        font-size: 1em;
        margin-bottom: 5px;
    }
    
    .info-panel p {
        font-size: 0.7em;
        margin-bottom: 5px;
    }
}

/* 加载动画 */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2em;
    z-index: 5;
}

.loading::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}