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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920') center/cover fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.header {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .logo {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.header .header-actions {
    display: flex;
    align-items: center;
}

.btn-header {
    padding: 6px 16px;
    background: transparent;
    color: #667eea;
    text-decoration: none;
    border: 1px solid #667eea;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-header:hover {
    background: #667eea;
    color: white;
}

.hero {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 600px;
    width: 100%;
}

.hero-title {
    font-size: 36px;
    color: white;
    text-align: center;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    text-align: center;
    margin-bottom: 35px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}


.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    transition: all 0.3s;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

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

.btn-generate {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

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

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

.result-box {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.result-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.result-url {
    padding: 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    word-break: break-all;
    margin-bottom: 12px;
}

.btn-copy {
    width: 100%;
    height: 42px;
    background: #52c41a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #73d13d;
}

.message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.message.error {
    background: #fff2f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

.message.success {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.hidden {
    display: none !important;
}

.stats {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.stat-item {
    flex: 1;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

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

.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .form-card {
        padding: 25px 20px;
    }
    
    .form-input {
        height: 44px;
        font-size: 14px;
    }
    
    .btn-generate {
        height: 44px;
    }
    
    .stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .btn-header {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .hero {
        padding: 30px 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .form-card {
        padding: 20px 15px;
    }
}
