/* 通用样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 玻璃拟态效果 */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 头部样式 */
.header {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #40e0d0, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.subtitle {
    color: #b0b0b0;
    font-size: 1.1rem;
}

/* 返回链接 */
.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #40e0d0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

/* 主内容区域 */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.input-section, .output-section {
    padding: 30px;
}

/* 区域标题 */
.section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #40e0d0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #40e0d0;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.form-control:focus {
    outline: none;
    border-color: #40e0d0;
    box-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
}

.form-control::placeholder {
    color: #888;
}

/* 下拉框样式 */
select.form-control,
select.option-select {
    color: #333;
    background-color: rgba(255, 255, 255, 0.9);
}

select.form-control option,
select.option-select option {
    color: #333;
    background-color: #ffffff;
}

select.form-control:focus,
select.option-select:focus {
    background-color: rgba(255, 255, 255, 0.95);
}

textarea.form-control {
    resize: vertical;
    min-height: 200px;
    line-height: 1.5;
}

/* 按钮样式 */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #40e0d0, #4ecdc4);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 状态栏 */
.status-bar {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.status-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

.status-error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

.status-warning {
    background: rgba(255, 152, 0, 0.2);
    border: 1px solid rgba(255, 152, 0, 0.5);
    color: #ff9800;
}

/* 信息框 */
.info-box {
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.info-title {
    font-weight: bold;
    color: #40e0d0;
    margin-bottom: 10px;
}

.info-text {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 示例按钮 */
.sample-texts {
    margin-top: 20px;
}

.sample-btn {
    padding: 8px 15px;
    background: rgba(64, 224, 208, 0.2);
    border: 1px solid #40e0d0;
    border-radius: 15px;
    color: #40e0d0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    margin: 5px;
}

.sample-btn:hover {
    background: rgba(64, 224, 208, 0.3);
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #40e0d0;
    margin-bottom: 5px;
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* 统计行 */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-name {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.stat-number {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 选项组 */
.option-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #40e0d0;
}

.option-label {
    font-size: 0.9rem;
    color: #b0b0b0;
}

/* 标签页 */
.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #40e0d0;
    border-bottom-color: #40e0d0;
}

.tab:hover {
    color: #ffffff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        border-bottom: none;
        border-right: 2px solid transparent;
    }
    
    .tab.active {
        border-right-color: #40e0d0;
    }
}


.main-content.ads-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/image/bigImage.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.main-content.ads-content ins {
    width: 100%;
}

a {
    text-decoration: none;
    color: #ffffff;
}