/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 背景星空 */
#starfield-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #808080;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.back-btn svg {
    width: 20px;
    height: 20px;
}

.back-btn:hover {
    color: #ffffff;
}

/* 作品类型选择器 */
.work-type-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    flex: 1;
    max-width: 600px;
}

.type-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #808080;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.type-tab i {
    font-size: 16px;
}

.type-tab:hover {
    color: #a0a0a0;
    background: rgba(255, 255, 255, 0.05);
}

.type-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.type-tab.active i {
    color: #ffffff;
}

/* 类型图标动画 */
.type-tab:active {
    transform: scale(0.95);
}

.type-tab.active:active {
    transform: translateY(0) scale(0.95);
}

.publish-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
    white-space: nowrap;
}

.publish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.publish-btn:active {
    transform: translateY(0);
}

/* 主内容区 */
.main-content {
    position: relative;
    z-index: 10;
    padding: 100px 30px 60px;
    min-height: 100vh;
}

.upload-container {
    max-width: 1800px;
    margin: 0 auto;
    display: block;
    position: relative;
    padding-left: 345px;
    padding-right: 405px;
}

/* 左侧信息区 */
.left-section {
    position: fixed;
    left: 30px;
    top: 120px;
    width: 320px;
    height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 50;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

/* 中间内容区 */
.middle-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-left: 0;
}

/* 右侧设置区 */
.right-section {
    position: fixed;
    right: 30px;
    top: 120px;
    width: 380px;
    height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 50;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

/* 自定义滚动条 */
.left-section::-webkit-scrollbar,
.right-section::-webkit-scrollbar {
    width: 5px;
}

.left-section::-webkit-scrollbar-track,
.right-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.left-section::-webkit-scrollbar-thumb,
.right-section::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 3px;
}

.left-section::-webkit-scrollbar-thumb:hover,
.right-section::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

/* 左侧卡片样式 */
.stats-card,
.quick-actions-card,
.tips-card {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stats-card:hover,
.quick-actions-card:hover,
.tips-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(26, 26, 26, 0.5);
}

.card-title-small {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title-small i {
    color: #667eea;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label-small {
    font-size: 13px;
    color: #808080;
}

.stat-value-small {
    font-size: 15px;
    font-weight: 600;
    color: #667eea;
}

/* 快速操作按钮 */
.quick-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.quick-action-btn:last-child {
    margin-bottom: 0;
}

.quick-action-btn i {
    font-size: 16px;
    color: #667eea;
}

.quick-action-btn:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

/* 提示列表 */
.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    font-size: 12px;
    color: #a0a0a0;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.tips-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 16px;
}

/* 上传区域 */
.upload-section {
    width: 100%;
}

/* 绘图上传网格 */
.art-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.art-image-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.art-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add-art-image {
    background: rgba(26, 26, 26, 0.25);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 2px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-art-image:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(26, 26, 26, 0.35);
}

.add-art-image i {
    font-size: 40px;
    color: #667eea;
}

.add-art-image p {
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

.add-art-image .upload-hint {
    font-size: 12px;
    color: #808080;
}

.art-image-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.art-image-item:hover .art-image-remove {
    opacity: 1;
}

.art-image-remove:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.1);
}

/* 音乐上传网格 */
.music-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.music-upload-item {
    position: relative;
    aspect-ratio: 1;
    background: rgba(26, 26, 26, 0.25);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 2px dashed rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-upload-item:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(26, 26, 26, 0.35);
}

.music-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 15px;
    color: #808080;
}

.music-upload-placeholder i {
    font-size: 48px;
    color: #667eea;
}

.music-upload-placeholder p {
    font-size: 15px;
    font-weight: 500;
}

#musicCoverPreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.music-file-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    padding: 20px;
}

.music-file-info i {
    font-size: 48px;
    color: #667eea;
}

.music-filename {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    word-break: break-all;
}

.music-filesize {
    font-size: 13px;
    color: #808080;
}

/* 视频上传区域 */

.video-upload-area {
    position: relative;
    width: 100%;
    min-height: 500px;
    aspect-ratio: 16/9;
    background: rgba(26, 26, 26, 0.25);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 2px dashed rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-upload-area:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(26, 26, 26, 0.35);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 15px;
}

.upload-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 20px;
    color: #667eea;
}

.upload-icon svg {
    width: 40px;
    height: 40px;
}

.upload-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.upload-hint {
    font-size: 13px;
    color: #808080;
}

#videoPreview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.change-video-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-video-btn:hover {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 表单区域 */
.form-section {
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 22px;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(26, 26, 26, 0.35);
}

/* 右侧表单区域更紧凑 */
.right-section .form-section {
    padding: 18px;
}

.right-section .form-section:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.required {
    color: #ef4444;
    font-size: 16px;
}

.label-hint {
    font-size: 13px;
    font-weight: 400;
    color: #808080;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #606060;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
}

.form-textarea::placeholder {
    color: #606060;
}

.form-textarea:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.char-counter {
    margin-top: 10px;
    text-align: right;
    font-size: 13px;
    color: #808080;
    font-weight: 500;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.danger {
    color: #ef4444;
}

/* 封面选择 */
.cover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cover-item {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.cover-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-item:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-4px);
}

.cover-item.active {
    border-color: #667eea;
}

.cover-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cover-item.active .cover-check {
    opacity: 1;
}

.cover-check svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.custom-cover {
    background: rgba(255, 255, 255, 0.05);
    border-style: dashed;
}

.custom-cover-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #808080;
}

.custom-cover-content svg {
    width: 32px;
    height: 32px;
}

.custom-cover-content span {
    font-size: 13px;
}

.custom-cover:hover .custom-cover-content {
    color: #667eea;
}

/* 标签选择 */
.tags-container,
.tags-container-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tag-btn {
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: #a0a0a0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.tag-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.tag-btn.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    border-color: #667eea;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.custom-tag-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.custom-tag-btn i {
    font-size: 14px;
}

/* 分类按钮 */
.category-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category-btn {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #a0a0a0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.category-btn.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* 游戏类型网格 */
.game-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* 平台选择网格 */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #a0a0a0;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-btn i {
    font-size: 24px;
}

.platform-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.platform-btn.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.platform-btn.active i {
    color: #667eea;
}

/* 游戏链接切换 */
.link-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.link-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #a0a0a0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.link-toggle-btn i {
    font-size: 14px;
}

.link-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.link-toggle-btn.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #ffffff;
}

.input-hint-small {
    margin-top: 10px;
    font-size: 12px;
    color: #808080;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-hint-small i {
    font-size: 14px;
    color: #667eea;
}

.game-file-area {
    padding: 40px 20px;
    background: rgba(26, 26, 26, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-file-area:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(26, 26, 26, 0.4);
}

.game-file-area i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 12px;
}

.game-file-area p {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px;
}

/* 游戏截图网格 */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.screenshot-item {
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add-screenshot {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-screenshot i {
    font-size: 32px;
    color: #667eea;
}

.add-screenshot:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.1);
}

.screenshot-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-item:hover .screenshot-remove {
    opacity: 1;
}

.screenshot-remove:hover {
    background: rgba(239, 68, 68, 1);
}

/* 玩家数选择 */
.player-count-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.player-btn {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #a0a0a0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.player-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.player-btn.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* 绘画分类网格 */
.art-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* 作品设置 */
.setting-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.setting-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #a0a0a0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.setting-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.setting-option.active {
    background: rgba(102, 126, 234, 0.15);
    border-color: #667eea;
    color: #ffffff;
}

.setting-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 20px;
    flex-shrink: 0;
}

.setting-option.active .setting-icon {
    background: rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.setting-option span {
    flex: 1;
}

/* 价格输入容器 */
.price-input-container {
    margin-top: 20px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.price-input {
    flex: 1;
    padding: 14px 16px;
    padding-right: 60px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.price-input::placeholder {
    color: #606060;
    font-weight: 400;
}

.price-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* 移除number input的上下箭头 */
.price-input::-webkit-inner-spin-button,
.price-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.price-unit {
    position: absolute;
    right: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    pointer-events: none;
}

.price-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #a0a0a0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-hint i {
    font-size: 13px;
    color: #667eea;
}

/* 会员等级选择容器 */
.vip-level-container {
    margin-top: 20px;
    padding: 20px;
    background: rgba(118, 75, 162, 0.08);
    border: 1px solid rgba(118, 75, 162, 0.25);
    border-radius: 12px;
    animation: slideDown 0.3s ease-out;
}

.vip-level-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vip-level-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.vip-level-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.vip-level-btn.active {
    background: rgba(118, 75, 162, 0.15);
    border-color: #764ba2;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
}

.vip-level-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vip-level-icon.pro {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    color: #667eea;
}

.vip-level-icon.max {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(239, 68, 68, 0.3) 100%);
    color: #f59e0b;
}

.vip-level-btn.active .vip-level-icon.pro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.vip-level-btn.active .vip-level-icon.max {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.vip-level-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.vip-level-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.vip-level-desc {
    font-size: 13px;
    color: #a0a0a0;
}

.vip-level-btn.active .vip-level-desc {
    color: #c0c0c0;
}

.setting-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    color: #10b981;
    font-size: 13px;
    margin-top: 15px;
}

.setting-notice svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* 可见性选项 */
.visibility-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visibility-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.visibility-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.visibility-option.active {
    background: rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.visibility-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 20px;
    color: #808080;
    flex-shrink: 0;
}

.visibility-option.active .visibility-icon {
    background: rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.visibility-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.visibility-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.visibility-desc {
    font-size: 13px;
    color: #808080;
}

/* 弹窗样式 - 玻璃质感 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.glass-modal {
    background: rgba(26, 26, 26, 0.25);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 8px 32px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .glass-modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.15) 0%,
        rgba(118, 75, 162, 0.15) 100%
    );
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #808080;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.name-input {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) inset;
}

.name-input::placeholder {
    color: #606060;
}

.name-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.15) inset;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.15);
}

.modal-btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
}

.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.08);
    color: #a0a0a0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.modal-btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal-btn-confirm:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .upload-container {
        padding-left: 305px;
        padding-right: 375px;
    }

    .left-section {
        width: 280px;
    }

    .right-section {
        width: 350px;
    }
}

@media (max-width: 1200px) {
    .upload-container {
        padding-left: 30px;
        padding-right: 435px;
    }

    .left-section {
        display: none;
    }

    .right-section {
        position: fixed;
        right: 30px;
        width: 380px;
    }

    .middle-section {
        margin-left: 0;
        margin-right: 0;
    }

    .cover-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tags-container-right {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .upload-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .left-section {
        display: none;
    }

    .right-section {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        overflow-y: visible;
    }

    .middle-section {
        margin-left: 0;
        margin-right: 0;
    }

    .cover-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .tags-container-right {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .work-type-selector {
        max-width: 400px;
    }

    .type-tab span {
        display: none;
    }

    .type-tab {
        padding: 10px 14px;
    }

    .type-tab i {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 18px 20px;
        gap: 15px;
    }

    .work-type-selector {
        max-width: none;
        flex: 1;
        padding: 4px;
        gap: 4px;
    }

    .type-tab {
        padding: 10px 8px;
    }

    .type-tab i {
        font-size: 16px;
    }

    .main-content {
        padding: 90px 20px 40px;
    }

    .upload-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .form-section {
        padding: 20px;
    }

    .cover-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .upload-icon {
        width: 60px;
        height: 60px;
    }

    .upload-icon svg {
        width: 32px;
        height: 32px;
    }

    .upload-text {
        font-size: 16px;
    }

    .tags-container,
    .tags-container-right {
        display: flex;
        flex-wrap: wrap;
    }

    .tag-btn {
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .music-upload-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-buttons {
        grid-template-columns: 1fr;
    }

    .game-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .player-count-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .art-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .art-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 15px;
        gap: 10px;
    }

    .back-btn span {
        display: none;
    }

    .work-type-selector {
        padding: 3px;
        gap: 3px;
    }

    .type-tab {
        padding: 8px 6px;
    }

    .type-tab i {
        font-size: 14px;
    }

    .publish-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .publish-btn span {
        display: none;
    }

    .publish-btn::after {
        content: '发布';
    }

    .main-content {
        padding: 80px 15px 30px;
    }

    .form-section {
        padding: 18px;
    }

    .cover-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tags-container,
    .tags-container-right {
        gap: 8px;
    }

    .tag-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .game-type-grid {
        grid-template-columns: 1fr;
    }

    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .platform-btn {
        padding: 10px 8px;
        font-size: 11px;
    }

    .platform-btn i {
        font-size: 20px;
    }

    .art-images-grid {
        grid-template-columns: 1fr;
    }

    .art-category-grid {
        grid-template-columns: 1fr;
    }

    .vip-level-btn {
        padding: 14px 16px;
        gap: 12px;
    }

    .vip-level-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .vip-level-name {
        font-size: 14px;
    }

    .vip-level-desc {
        font-size: 12px;
    }
}

