/* 极睿 Sora 前端 - 现代设计风格 */

:root {
    /* 主色调 - 现代深色主题（更深） */
    --bg-primary: #020617;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --bg-card: rgba(15, 23, 42, 0.9);
    
    /* 现代蓝色 */
    --blue-primary: #3b82f6;
    --blue-secondary: #60a5fa;
    --blue-light: #93c5fd;
    
    /* 现代紫色 */
    --purple-primary: #8b5cf6;
    --purple-secondary: #a78bfa;
    
    /* 现代橙色 */
    --orange-primary: #f59e0b;
    --orange-secondary: #fbbf24;
    
    /* 文字颜色 */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* 边框和阴影 */
    --border-color: rgba(148, 163, 184, 0.1);
    --border-light: rgba(148, 163, 184, 0.2);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    min-height: 100vh;
    padding-bottom: 70px;
    line-height: 1.6;
    position: relative;
    /* 移动端优化 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 禁用文本选择（移动端） */
    -webkit-tap-highlight-color: transparent;
    /* 优化滚动性能 */
    -webkit-overflow-scrolling: touch;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 12px 20px;
    position: relative;
    z-index: 1;
}

/* 标题区域 */
.header {
    text-align: center;
    padding: 20px 0 15px;
}

.header h1 {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

/* 移动端标题优化 */
@media (max-width: 480px) {
    .header h1 {
        font-size: 28px;
    }
}

.header-subtitle {
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 移动端副标题优化 */
@media (max-width: 480px) {
    .header-subtitle {
        font-size: 16px;
    }
}

/* 案例广场标题美化 */
.header-square {
    padding-top: 26px;
    padding-bottom: 18px;
}

.header-square-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 10px;
    background: linear-gradient(120deg, #f9fafb 0%, #e5e7eb 40%, #60a5fa 70%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 6px 18px rgba(15, 23, 42, 0.9);
}

.header-square-subtitle {
    margin-top: 4px;
    font-size: 14px;
    letter-spacing: 2px;
}

/* 步骤内容 */
.step-content {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 移除未使用的 ::before 装饰条（移动端不需要） */

/* 移动端移除hover效果，使用active */
@media (max-width: 768px) {
.step-content:hover {
        transform: none;
}
}

.step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
}

.step-badge {
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.step-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.char-count-header {
    margin-left: auto;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

/* 表单样式 */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.prompt-group {
    position: relative;
}

textarea.form-control.prompt-textarea {
    min-height: 120px;
    resize: vertical;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px dashed var(--border-light);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    padding: 14px;
    width: 100%;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
    backdrop-filter: blur(5px);
}

/* 表单输入框和下拉框样式 */
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

/* 下拉框选项样式 */
select.form-control {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%) !important;
    color: var(--text-primary) !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select.form-control option {
    background: #0f172a !important;
    color: #f8fafc !important;
    padding: 10px !important;
}

select.form-control option:hover,
select.form-control option:focus,
select.form-control option:checked,
select.form-control option:active {
    background: var(--blue-primary) !important;
    color: white !important;
}

/* 确保下拉框在打开时也显示正确的颜色 */
select.form-control:focus option {
    background: #0f172a !important;
    color: #f8fafc !important;
}

select.form-control:focus option:checked {
    background: var(--blue-primary) !important;
    color: white !important;
}

textarea.form-control.prompt-textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--blue-primary);
    border-style: solid;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 0 20px rgba(59, 130, 246, 0.1);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    transform: translateY(-1px);
}

/* 按钮组 */
.btn-group-step1 {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: stretch;
}

.btn-clear,
.btn-optimize,
.btn-random {
    flex: 1;
    height: 44px;
    min-height: 44px; /* 确保触摸区域足够大 */
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
    padding: 0 12px;
    min-width: 0;
    /* 移动端优化 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-clear .icon-svg,
.btn-optimize .icon-svg,
.btn-random .icon-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-clear {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 500;
}

.btn-clear:active {
    background: var(--bg-secondary);
    border-color: var(--border-light);
    transform: scale(0.98);
}

.btn-optimize {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-optimize:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-md);
}

.btn-random {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-random:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-md);
}

/* 图片上传区域 */
.upload-area {
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

/* 移除未使用的装饰层 */
.upload-area:active {
    border-color: var(--blue-primary);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.upload-icon-large {
    font-size: 40px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 300;
    line-height: 1;
}

.upload-text {
    color: var(--text-primary);
    font-size: 13px;
}

.btn-history {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
    color: var(--text-primary);
    border: none;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    min-width: 80px;
    align-self: stretch;
    box-shadow: var(--shadow-sm);
}

.btn-history:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-md);
}

/* 参数选择 */
.param-group {
    margin-bottom: 15px;
}

.param-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

/* 参数分组（如基础时长 / PRO 专享） */
.param-section {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    margin-bottom: 8px;
}

.param-section-title {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.param-section-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange-primary), #f97316);
    color: #fff;
}

.param-section-pro {
    border-color: rgba(248, 171, 79, 0.6);
    background: radial-gradient(circle at 0 0, rgba(248, 171, 79, 0.16), transparent 55%), rgba(15, 23, 42, 0.8);
}

/* 热门 / 高亮小徽标样式 */
.param-hot-badge {
    font-size: 10px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #fff;
    margin-bottom: 4px;
    box-shadow: 0 0 8px rgba(248, 171, 79, 0.6);
}

.param-text-highlight {
    color: #fed7aa;
}

/* 常用推荐标签 */
.param-common-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    padding: 0 6px;
    height: 18px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #bfdbfe;
    font-size: 10px;
}

.param-options {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.param-option {
    flex: 1;
    min-width: 0;
    height: 44px;
    min-height: 44px; /* 确保触摸区域足够大 */
    padding: 0 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-secondary);
    /* 移动端优化 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.param-option:active {
    background: var(--bg-secondary);
    border-color: var(--border-light);
    color: var(--text-primary);
    transform: scale(0.98);
}

.param-option.active {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* 生成按钮 */
.btn-generate {
    width: 100%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    border-radius: 12px;
    padding: 18px;
    min-height: 52px; /* 确保触摸区域足够大 */
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 15px;
    /* 移动端优化 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-generate:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.btn-generate:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.generate-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.robot-icon {
    font-size: 28px;
}

.generate-text {
    text-align: center;
}

.generate-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.generate-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* 警告提示 */
.alert {
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.icon-warning {
    font-weight: 700;
    flex-shrink: 0;
}

/* 底部导航 */
.bottom-nav {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom)); /* 适配安全区域 */
    display: flex;
    justify-content: space-around;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary) 0%, var(--purple-primary) 100%);
    border-radius: 0 0 3px 3px;
    transition: width 0.3s ease;
}

.nav-item.active {
    color: var(--blue-primary);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.15) 0%, transparent 100%);
}

.nav-item:active {
    transform: scale(0.95);
    /* 移动端优化 */
    -webkit-tap-highlight-color: transparent;
}

.nav-item.active::before {
    width: 60%;
}

.nav-icon {
    font-size: 22px;
}

/* 图标样式 */
.icon-svg {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-svg svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

/* 登录页面气泡背景 */
.login-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(2, 6, 23, 1) 100%);
}

.bubble-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.bubble-field span {
    position: absolute;
    bottom: -80px;
    width: var(--size, 18px);
    height: var(--size, 18px);
    left: var(--left, 50%);
    --hue: calc(16deg * var(--i));
    background: radial-gradient(circle at 30% 30%, hsla(var(--hue), 95%, 80%, 1), hsla(calc(var(--hue) + 80deg), 90%, 60%, 0.55));
    border-radius: 50%;
    box-shadow: 0 0 16px hsla(var(--hue), 95%, 75%, 0.55), 0 0 28px hsla(var(--hue), 95%, 70%, 0.45);
    filter: drop-shadow(0 0 10px hsla(var(--hue), 95%, 75%, 0.6));
    opacity: 0.95;
    animation: bubble-rise linear infinite, bubble-sway ease-in-out infinite;
    animation-duration: calc(8s + (var(--i) * 0.3s));
    animation-delay: calc(var(--i) * -0.45s);
}

@keyframes bubble-rise {
    0% {
        transform: translateY(0) translateX(0) scale(0.7);
        opacity: 0.08;
    }
    10% { opacity: 1; }
    80% { opacity: 0.75; }
    100% {
        transform: translateY(-120vh) translateX(0) scale(1.1);
        opacity: 0;
    }
}

.bubble-field span:nth-child(odd) {
    mix-blend-mode: screen;
}

@keyframes bubble-sway {
    0% { transform: translateX(-14px) translateY(0) scale(0.9); }
    50% { transform: translateX(18px) translateY(0) scale(1.1); }
    100% { transform: translateX(-14px) translateY(0) scale(0.93); }
}

.login-box {
    position: relative;
    z-index: 1;
}

/* 作品页面样式 */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    flex: 1;
    min-width: 80px;
    height: 44px;
    min-height: 44px; /* 确保触摸区域足够大 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    /* 移动端优化 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.filter-tab:active {
    background: var(--bg-secondary);
    border-color: var(--border-light);
    color: var(--text-primary);
    transform: scale(0.98);
}

.filter-tab.active {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.filter-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

/* 作品卡片 */
.work-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* 移除作品卡片顶部装饰条 */

/* 移动端移除hover效果 */
@media (max-width: 768px) {
.work-card:hover {
        transform: none;
}
}

.work-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-tertiary);
    flex-shrink: 0;
    position: relative;
}

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

.work-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.work-placeholder svg {
    width: 40px;
    height: 40px;
}

/* 进度条样式 */
.work-progress {
    margin: 10px 0;
    padding: 8px 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-secondary));
    border-radius: 3px;
    transition: width 0.3s ease;
    /* 移除动画，简化性能 */
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.progress-time {
    color: var(--text-secondary);
}

.progress-estimate {
    color: var(--blue-primary);
    font-weight: 500;
}

/* 失败原因样式 */
.work-error {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 12px;
    margin: 8px 0;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    font-size: 12px;
    color: #ef4444;
    line-height: 1.4;
}

.work-error svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #ef4444;
}

.work-error span {
    flex: 1;
    word-break: break-word;
}

.work-status {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
}

.status-generating {
    background: rgba(59, 130, 246, 0.2);
    color: var(--blue-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-failed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-icon {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.work-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.work-prompt {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    flex: 1;
}

.work-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.work-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    height: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-sm:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-sm svg {
    width: 14px;
    height: 14px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(51, 65, 85, 0.3) 100%);
    border-radius: 16px;
    border: 1px dashed var(--border-color);
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--text-muted);
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.empty-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.empty-text {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .container {
        max-width: 900px;
        padding: 20px 40px;
    }
    
    .header {
        padding: 30px 0 20px;
    }
    
    .header h1 {
        font-size: 32px;
    }
    
    .header-subtitle {
        font-size: 18px;
    }
    
    .step-content {
        padding: 24px;
    }
    
    .work-card {
        padding: 20px;
    }
    
    .work-thumbnail {
        width: 150px;
        height: 150px;
    }
}

/* 广场页面专用样式 - 网格布局 */
#videosList .works-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 20px 0 !important;
}

#videosList .work-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 12px !important;
    overflow: visible !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    gap: 0 !important;
    flex-direction: column !important;
    backdrop-filter: blur(10px) !important;
    min-height: 0 !important;
}

#videosList .work-thumbnail {
    overflow: hidden !important;
}

#videosList .work-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

#videosList .work-card:active {
    transform: translateY(0) !important;
}

#videosList .work-thumbnail {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important;
    background: #000 !important;
    overflow: hidden !important;
    border-radius: 12px 12px 0 0 !important;
    flex-shrink: 0 !important;
}

#videosList .work-thumbnail img,
#videosList .work-thumbnail video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

#videosList .work-placeholder {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ccc !important;
}

#videosList .work-overlay {
    display: none !important;
}

#videosList .work-actions {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    padding: 12px !important;
    overflow: visible !important;
    background: transparent !important;
    margin-top: 0 !important;
}

#videosList .btn-play,
#videosList .btn-remix {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 10px 8px !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    min-height: 40px !important;
    background: rgba(30, 41, 59, 0.6) !important;
    color: var(--text-primary) !important;
    backdrop-filter: blur(10px) !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis !important;
}

#videosList .btn-play:hover {
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    color: var(--blue-light) !important;
    transform: translateY(-1px) !important;
}

#videosList .btn-play:active {
    transform: translateY(0) !important;
}

#videosList .btn-remix {
    background: rgba(30, 41, 59, 0.6) !important;
    color: var(--text-primary) !important;
}

#videosList .btn-remix:hover {
    background: rgba(139, 92, 246, 0.2) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    color: var(--purple-secondary) !important;
    transform: translateY(-1px) !important;
}

#videosList .btn-remix:active {
    transform: translateY(0) !important;
}

#videosList .btn-play svg,
#videosList .btn-remix svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
}

#videosList .btn-play span,
#videosList .btn-remix span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 !important;
    min-width: 0 !important;
    text-align: center !important;
}

/* 移动端优化 */
@media (max-width: 480px) {
    #videosList .btn-play,
    #videosList .btn-remix {
        padding: 10px 6px !important;
        font-size: 12px !important;
        gap: 3px !important;
    }
    
    #videosList .btn-play svg,
    #videosList .btn-remix svg {
        width: 12px !important;
        height: 12px !important;
    }
}

#videosList .work-author,
#videosList .work-views {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

#videosList .work-author svg,
#videosList .work-views svg {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.7 !important;
}

@media (max-width: 480px) {
    .container {
        padding: 10px 15px;
    }
    
    .header h1 {
        font-size: 30px;
    }
    
    .header-subtitle {
        font-size: 18px;
    }
    
    .btn-group-step1 {
        flex-direction: row;
        gap: 8px;
    }
    
    .btn-clear,
    .btn-optimize,
    .btn-random {
        flex: 1;
        min-width: 0;
        padding: 10px 8px;
        font-size: 13px;
        height: 40px;
    }
    
    .btn-clear .icon-svg,
    .btn-optimize .icon-svg,
    .btn-random .icon-svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }
    
    .btn-clear span:not(.icon-svg),
    .btn-optimize span:not(.icon-svg),
    .btn-random span:not(.icon-svg) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .param-options {
        flex-wrap: wrap;
    }
    
    .param-option {
        min-width: calc(33.333% - 6px);
    }
}

/* 上传预览 */
.upload-preview {
    margin-top: 15px;
    text-align: center;
}

.upload-preview img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* 页面容器样式 - Points 页面使用 */
.page-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 12px 20px;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 70px);
    padding-bottom: 90px;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0 15px;
    position: relative;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
    margin: 0;
}

.back-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px; /* 确保触摸区域足够大 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    /* 移动端优化 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

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

.back-btn:active {
    background: var(--bg-secondary);
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    transform: scale(0.95);
    /* 移动端优化 */
    -webkit-tap-highlight-color: transparent;
}

.page-content {
    padding: 0;
}

/* 卡片样式 */
.card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

/* 移动端优化：移除hover效果和装饰条 */
@media (max-width: 768px) {
.card:hover {
        transform: none;
}
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(30, 41, 59, 0.5);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    min-height: 44px; /* 确保触摸区域足够大 */
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    /* 移动端优化 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.btn-secondary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:active {
    background: var(--bg-secondary);
    border-color: var(--border-light);
    transform: scale(0.98);
}

/* 提示框样式 */
:root {
    --success: #10b981;
    --error: #ef4444;
}

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--orange-primary);
}

/* 统一弹窗样式 */
.app-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 16px;
}

.app-modal-overlay.active {
    display: flex;
}

.app-modal-box {
    width: 100%;
    max-width: 340px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(59, 130, 246, 0.15);
    padding: 20px;
    color: var(--text-primary);
    text-align: center;
}

.app-modal-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-modal-message {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.app-modal-btn {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
    transition: all 0.2s ease;
}

.app-modal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.45);
}

/* 积分记录项样式 */
.points-log-item {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.6) 0%, rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: all 0.2s;
}

.points-log-item:hover {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    border-color: var(--border-light);
    transform: translateX(4px);
}

/* 美化样式 - Points 页面专用 */
.points-display {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.points-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--purple-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    line-height: 1.2;
}

.points-label {
    color: var(--text-muted);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.sign-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--purple-primary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 1;
}

.sign-icon.signed {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.sign-status {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.invite-code-display {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.invite-code-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.invite-code-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 6px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--purple-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Courier New', monospace;
    position: relative;
    z-index: 1;
}

.invite-url-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    word-break: break-all;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stat-item {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--blue-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--purple-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rule-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-item::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.invite-record-item {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.4) 0%, rgba(30, 41, 59, 0.4) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.invite-record-item:hover {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.6) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-color: var(--border-light);
    transform: translateX(4px);
}

.record-user {
    flex: 1;
}

.record-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.record-time {
    font-size: 12px;
    color: var(--text-muted);
}

.record-points {
    color: var(--success);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.empty-invite {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-invite-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.card-body {
    padding: 24px;
}

.card-body-compact {
    padding: 20px;
}

/* 视频播放弹窗样式 */
.video-player-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-overlay.active {
    display: flex;
    opacity: 1;
}

.video-player-container {
    position: relative;
    width: 100%;
    max-width: 90vw;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-player-overlay.active .video-player-container {
    transform: scale(1);
}

.video-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(30, 41, 59, 0.5);
}

.video-player-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 16px;
}

.video-player-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.video-player-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    transform: rotate(90deg);
}

.video-player-close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.video-player-content {
    position: relative;
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
}

.video-player-content video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: calc(90vh - 120px);
    object-fit: contain;
    display: block;
}

.video-player-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(30, 41, 59, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.video-player-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--blue-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-player-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.video-player-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* 已合并到统一的响应式调整中 */

/* 响应式调整 */
@media (max-width: 480px) {
    .page-container {
        padding: 10px 15px;
        padding-bottom: 90px;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .points-number {
        font-size: 40px;
    }
    
    .invite-code-text {
        font-size: 24px;
        letter-spacing: 4px;
    }
    
    .stat-value {
        font-size: 28px;
    }
}
