:root {
  --primary-color: #00ffff;
  --secondary-color: #ff00ff;
  --accent-color: #ffff00;
  --background-color: #0f0f2d;
  --text-color: #ffffff;
  --light-text: #aaaaff;
  --card-bg: #1a1a3a;
  --shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  --neon-border: 2px solid var(--primary-color);
  --neon-glow: 
    0 0 5px rgba(0, 255, 255, 0.5),
    0 0 10px rgba(0, 255, 255, 0.3),
    0 0 15px rgba(0, 255, 255, 0.1);
}

@font-face {
  font-family: 'Orbitron';
  src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Orbitron', 'Arial', sans-serif;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 20%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--primary-color);
}

header {
    width: 100%;
    padding: 20px 0;
    background-color: rgba(26, 26, 58, 0.8);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: left;
    border-bottom: var(--neon-border);
    position: relative;
}

header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

header nav {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    height: 34px;
    line-height: 34px;
    background: transparent;
    padding: 0 12px;
    border-radius: 4px;
    margin: 0;
    transition: all 0.3s ease;
    border: var(--neon-border);
    box-shadow: var(--neon-glow);
    text-shadow: 0 0 5px var(--primary-color);
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary-color);
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
}

.menu-list {
    display: flex;
}

.menu-list a {
    display: block;
    margin-left: 10px;
    padding: 10px 15px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.menu-list a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.menu-list a:hover:before {
    left: 100%;
}

.menu-list a.curr {
    color: var(--background-color);
    font-weight: bold;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.menu-list a:hover {
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-2px);
}

button {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 0 5px var(--primary-color);
    position: relative;
    overflow: hidden;
}

button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

button:hover:before {
    left: 100%;
}

button:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--primary-color);
}

footer {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    background-color: rgba(26, 26, 58, 0.8);
    margin-top: auto;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    border-top: var(--neon-border);
    font-size: 12px;
    position: relative;
}

footer:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    text-shadow: 0 0 5px var(--primary-color);
}

footer a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

.main-content {
    max-width: 1000px;
    margin: 20px auto;
    padding: 25px;
    text-align: left;
    background-color: rgba(26, 26, 58, 0.8);
    border: var(--neon-border);
    box-shadow: var(--shadow);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.main-content:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 10s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.3;
    }
}

/* 添加进度指示器样式 */
.progress-container {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 0 5px var(--primary-color);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

/* 添加卡片样式 */
.card {
    background-color: rgba(26, 26, 58, 0.5);
    padding: 20px;
    margin-bottom: 20px;
    border: var(--neon-border);
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: var(--neon-glow);
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--primary-color);
}

/* 添加状态消息样式 */
#statusMessage {
    padding: 10px;
    margin: 10px 0;
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    font-weight: 500;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* 改进文件上传样式 */
input[type="file"] {
    border: 1px dashed var(--primary-color);
    padding: 20px;
    width: calc(100% - 44px);
    margin-bottom: 15px;
    background-color: rgba(0, 255, 255, 0.05);
    transition: all 0.3s ease;
    color: var(--text-color);
    border-radius: 8px;
}

input[type="file"]:hover {
    background-color: rgba(0, 255, 255, 0.1);
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* 添加步骤指示器样式 */
.steps-container {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-color);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-color);
    background-color: var(--card-bg);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 0 5px var(--primary-color);
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--primary-color);
}

.step-text {
    font-size: 10px;
    color: var(--light-text);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.step.active .step-text {
    color: var(--primary-color);
    font-weight: 500;
    text-shadow: 0 0 5px var(--primary-color);
}

/* 上传区域样式 */
.upload-container {
    position: relative;
    margin: 20px 0;
    border: 1px dashed var(--primary-color);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background-color: rgba(0, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.upload-container:hover {
    background-color: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.upload-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--light-text);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 12px;
}

.upload-hint.drag-over {
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 5px var(--primary-color);
}

/* 轨道选择样式 */
.track-selection {
    margin: 20px 0;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background-color: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.track-item {
    display: flex;
    align-items: center;
    padding: 8px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.track-item:hover {
    background-color: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.track-item input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.speed-control {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--primary-color);
}

.speed-control input {
    padding: 5px;
    border: 1px solid var(--primary-color);
    background-color: rgba(0, 255, 255, 0.05);
    color: var(--text-color);
    width: 80px;
    font-family: 'Orbitron', 'Arial', sans-serif;
    border-radius: 4px;
}

/* 按钮组样式 */
.button-group {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

.primary-button {
    background-color: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 0 15px var(--primary-color);
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px var(--primary-color);
    }
    to {
        box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    }
}

/* 示例文件区域 */
.sample-files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.sample-file {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sample-file:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 0 15px var(--primary-color);
}

/* 状态消息样式 */
.status-message {
    padding: 10px;
    margin: 10px 0;
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    font-weight: 500;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    font-size: 12px;
}

/* 添加霓虹灯风格的列表 */
ul, ol {
    padding-left: 20px;
}

ul li, ol li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 20px;
}

ul li:before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

ol {
    counter-reset: item;
}

ol li {
    counter-increment: item;
}

ol li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

/* 霓虹灯风格装饰元素 */
.pixel-corners {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pixel-decoration {
    display: none;
}

.pixel-icon {
    display: inline-block;
    margin-right: 5px;
    font-size: 1.2em;
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

/* 添加霓虹灯风格的链接 */
a {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
    padding: 0 2px;
    text-shadow: 0 0 5px var(--primary-color);
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s;
    box-shadow: 0 0 5px var(--primary-color);
}

a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* 添加霓虹灯风格的滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 5px var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

/* 添加霓虹灯风格的输入框 */
input[type="text"], 
input[type="number"], 
input[type="email"], 
input[type="password"],
select {
    background-color: rgba(0, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    padding: 8px;
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-size: 12px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

input[type="text"]:focus, 
input[type="number"]:focus, 
input[type="email"]:focus, 
input[type="password"]:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

/* 添加霓虹灯风格的复选框 */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

input[type="checkbox"]:checked:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--background-color);
    font-size: 14px;
}

/* 添加霓虹灯风格的单选按钮 */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

input[type="radio"]:checked {
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

input[type="radio"]:checked:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--background-color);
    border-radius: 50%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }
    
    .menu-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 15px;
    }
    
    .menu-list a {
        margin-left: 0;
        margin-bottom: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .main-content {
        padding: 15px;
        margin: 10px;
    }
    
    button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    #trackInfo {
        overflow-x: auto;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
    }
    
    .steps-container::before {
        top: 0;
        bottom: 0;
        left: 15px;
        right: auto;
        width: 2px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    }
    
    .step {
        flex-direction: row;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .step-number {
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    .sample-files {
        flex-direction: column;
    }
    
    .sample-file {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 14px;
    }
    
    .main-content {
        padding: 12px;
    }
    
    input[type="file"] {
        padding: 15px;
    }
    
    h1, h2, h3 {
        font-size: 16px;
    }
    
    body {
        font-size: 12px;
    }
}
