* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: bold !important;
}

@font-face {
    font-family: 'NZBZ';
    src: url("fonts/AaHuYanZhuanYongChaoCuHeiTi-2.ttf");
    font-display: swap;
}

body {
    background-image: url("/getimages/0e06627fe7fc4126d731eb921ca519e8.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px 15px;
    position: relative;
}

.custom-cursor {
    cursor: url("tubiao.ico") 0 0, default !important;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    font-family: 'NZBZ', "Microsoft YaHei", sans-serif;
    color: #2c3e50;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #1a2530;
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin: 15px 0;
}

label {
    display: block;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #2c3e50;
    margin-bottom: 8px;
}

input[type="text"],
select,
input[type="number"] {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #2c3e50;
    background: #fff;
    outline: none;
}

input[type="text"]:focus,
select:focus,
input[type="number"]:focus {
    border-color: #1677ff;
}

textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #2c3e50;
    background: #fff;
    resize: vertical;
    outline: none;
}

textarea:focus {
    border-color: #1677ff;
}

.btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    cursor: pointer;
    margin: 20px 0;
}

.btn:hover {
    background: #0066cc;
}

.btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.param-box {
    margin: 15px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.param-header {
    padding: 10px 15px;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.param-content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.param-content.show {
    padding: 15px;
    max-height: 2000px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.status {
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
}

.success {
    color: #145a32;
    background: rgba(46, 204, 113, 0.2);
}

.error {
    color: #c0392b;
    background: rgba(231, 76, 60, 0.2);
}

.loading {
    color: #0066cc;
    background: rgba(52, 152, 219, 0.2);
}

.audio-box {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    background: rgba(230, 247, 255, 0.8);
    text-align: center;
    display: none;
}

audio {
    width: 100%;
    margin-bottom: 15px;
}

.download-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #1677ff;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.download-btn:hover {
    background: #0066cc;
}

.beian {
    margin-top: 40px;
    padding: 8px 15px;
    border: 2px solid #1677ff;
    border-radius: 6px;
    color: #555;
    font-size: 0.85rem;
    text-align: center;
    font-family: "Microsoft YaHei", sans-serif;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.beian a {
    color: #555;
    text-decoration: none;
}

.beian a:hover {
    color: #1677ff;
    text-decoration: underline;
}

.tips {
    color: #c0392b;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    margin-top: 5px;
}

.document {
    margin-top: 40px;
    padding: 8px 15px;
    border: 2px solid #1677ff;
    border-radius: 6px;
    color: #555;
    font-size: 0.85rem;
    text-align: center;
    font-family: "Microsoft YaHei", sans-serif;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.document a {
    color: #555;
    text-decoration: none;
}

.document a:hover {
    color: #1677ff;
    text-decoration: underline;
}