body {
    background-color: #000;
    color: #0f0;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* 定义新的灯管闪烁动画 */
@keyframes neon-glow {
    0% {
        border-color: rgba(0, 255, 0, 0.2);
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    }
    2% {
        border-color: #0f0;
        box-shadow: 0 0 20px #0f0;
    }
    5% {
        border-color: rgba(0, 255, 0, 0.2);
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    }
    7% {
        border-color: #0f0;
        box-shadow: 0 0 20px #0f0;
    }
    10% {
        border-color: rgba(0, 255, 0, 0.2);
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    }
    12% {
        border-color: #0f0;
        box-shadow: 0 0 20px #0f0;
    }
    100% {
        border-color: #0f0;
        box-shadow: 0 0 20px #0f0;
    }
}

.content {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid #0f0;
    border-radius: 10px;
    padding: 20px;
    /* 添加闪烁动画，总时长为 7 秒 */
    animation: neon-glow 5.2s ease-in-out infinite;
    width: 80%;
    max-width: 800px;
}

h1 {
    text-align: center;
    text-shadow: 0 0 10px #0f0;
}

textarea {
    width: calc(100% - 20px);
    padding: 10px;
    min-height: 150px;
    margin-bottom: 10px;
    background-color: #111;
    color: #0f0;
    border: 1px solid #0f0;
    border-radius: 5px;
    outline: none;
    /* 添加闪烁动画，总时长为 7 秒 */
    animation: neon-glow 10s ease-in-out infinite;
}

input[type="checkbox"] {
    margin-right: 5px;
}

button {
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0c0;
}

#tableRowCount {
    margin-top: 10px;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #0f0;
    padding: 10px;
    text-align: center;
    /* 添加闪烁动画，总时长为 7 秒 */
    animation: neon-glow 7s ease-in-out infinite;
}

#htmlCodeResult {
    margin-top: 20px;
    background-color: #111;
    border: 1px solid #0f0;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    /* 添加闪烁动画，总时长为 7 秒 */
    animation: neon-glow 7s ease-in-out infinite;
}

#lineNumbers {
    user-select: none;
    margin-right: 10px;
    color: #0f0;
    padding-right: 10px;
    border-right: 1px solid #0f0;
    text-align: right;
    white-space: pre-wrap;
}

#codeContent {
    color: #0f0;
    padding-left: 10px;
    white-space: pre-wrap;
    font-family: 'Orbitron', sans-serif;
    margin-top: 0;
}


.author-info {
    text-align: center;
    margin-top: 20px;
}

.author-info a {
    color: #0f0;
    text-decoration: none;
    text-shadow: 0 0 10px #0f0;
    transition: color 0.3s;
}

.author-info a:hover {
    color: #0c0;
    text-shadow: 0 0 20px #0c0;
}

/* 赛博朋克风返回顶部按钮样式 */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00ffcc;
    color: #000;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 0 10px #00ffcc;
    display: none;
}

#backToTop:hover {
    background-color: #00ccaa;
    box-shadow: 0 0 20px #00ffcc;
}

.content, .author-info{width: 100%; max-width: 1024px; margin: 0 auto 50px; }
textarea, table, #htmlCodeResult{margin-bottom: 20px;}